fromValue static method

AutoplayPolicy fromValue(
  1. String value
)

Implementation

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