fromApiString static method

TransitMode fromApiString(
  1. String mode
)

Implementation

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