coreValue property

  1. @visibleForTesting
RT_LinearUnitId coreValue

Implementation

@visibleForTesting
RT_LinearUnitId get coreValue => switch (this) {
      other => RT_LinearUnitId.RT_LinearUnitId_other,
      centimeters => RT_LinearUnitId.RT_LinearUnitId_centimeters,
      feet => RT_LinearUnitId.RT_LinearUnitId_feet,
      inches => RT_LinearUnitId.RT_LinearUnitId_inches,
      kilometers => RT_LinearUnitId.RT_LinearUnitId_kilometers,
      meters => RT_LinearUnitId.RT_LinearUnitId_meters,
      miles => RT_LinearUnitId.RT_LinearUnitId_miles,
      millimeters => RT_LinearUnitId.RT_LinearUnitId_millimeters,
      nauticalMiles => RT_LinearUnitId.RT_LinearUnitId_nauticalMiles,
      yards => RT_LinearUnitId.RT_LinearUnitId_yards,
    };