from static method

APIAuthorizationType? from(
  1. String? value
)

Returns the APIAuthorizationType value for value.

Implementation

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