toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case AngleUnits.degreeAngle:
      return 'DEGREE_ANGLE';
    case AngleUnits.radian:
      return 'RADIAN';
  }
}