toAuthType method

AuthType toAuthType()

Implementation

AuthType toAuthType() {
  switch (this) {
    case 'OAUTH':
      return AuthType.oauth;
    case 'BASIC_AUTH':
      return AuthType.basicAuth;
    case 'PERSONAL_ACCESS_TOKEN':
      return AuthType.personalAccessToken;
  }
  throw Exception('$this is not known in enum AuthType');
}