fromValue static method

DistanceModelType fromValue(
  1. String value
)

Implementation

static DistanceModelType fromValue(String value) =>
    values.firstWhere((e) => e.value == value);