fromApiString static method

Unit fromApiString(
  1. String mode
)

Implementation

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