Implementation
@visibleForTesting
RT_AreaUnitId get coreValue => switch (this) {
other => RT_AreaUnitId.RT_AreaUnitId_other,
acres => RT_AreaUnitId.RT_AreaUnitId_acres,
hectares => RT_AreaUnitId.RT_AreaUnitId_hectares,
squareCentimeters => RT_AreaUnitId.RT_AreaUnitId_squareCentimeters,
squareDecimeters => RT_AreaUnitId.RT_AreaUnitId_squareDecimeters,
squareFeet => RT_AreaUnitId.RT_AreaUnitId_squareFeet,
squareKilometers => RT_AreaUnitId.RT_AreaUnitId_squareKilometers,
squareMeters => RT_AreaUnitId.RT_AreaUnitId_squareMeters,
squareMillimeters => RT_AreaUnitId.RT_AreaUnitId_squareMillimeters,
squareMiles => RT_AreaUnitId.RT_AreaUnitId_squareMiles,
squareYards => RT_AreaUnitId.RT_AreaUnitId_squareYards,
};