fromValue static method

RequestMode fromValue(
  1. String value
)

Implementation

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