fromApiString static method

Unit fromApiString(
  1. String mode
)

Implementation

static Unit fromApiString(String mode) {
  return $enumDecode(_$UnitEnumMap, mode);
}