fromValue static method

TextTrackMode fromValue(
  1. String value
)

Implementation

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