fromApiString static method

TransitMode fromApiString(
  1. String mode
)

Implementation

static TransitMode fromApiString(String mode) {
  return $enumDecode(_$TransitModeEnumMap, mode);
}