toOAuthFlowType method
Implementation
OAuthFlowType toOAuthFlowType() {
switch (this) {
case 'code':
return OAuthFlowType.code;
case 'implicit':
return OAuthFlowType.implicit;
case 'client_credentials':
return OAuthFlowType.clientCredentials;
}
throw Exception('$this is not known in enum OAuthFlowType');
}