fromValue static method

GroupType fromValue(
  1. String value
)

Implementation

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