fromValue static method

UserAccountType fromValue(
  1. String value
)

Implementation

static UserAccountType fromValue(String value) =>
    values.firstWhere((e) => e.value == value,
        orElse: () => UserAccountType._(value));