fromApiString static method

TrafficModel fromApiString(
  1. String mode
)

Implementation

static TrafficModel fromApiString(String mode) {
  return _$enumDecode(_$TrafficModelEnumMap, mode);
}