fromValue static method

PermissionSubjectType fromValue(
  1. String value
)

Implementation

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