from static method

Returns the APIAuthorizationType value for value.

Implementation

static APIAuthorizationType? from(String? value) =>
    APIAuthorizationType.values
        .firstWhereOrNull((el) => el.rawValue == value);