fromApiString static method

TrafficModel fromApiString(
  1. String mode
)

Implementation

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