fromValue static method

NavigationType fromValue(
  1. String value
)

Implementation

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