toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case OAuthFlowType.code:
      return 'code';
    case OAuthFlowType.implicit:
      return 'implicit';
    case OAuthFlowType.clientCredentials:
      return 'client_credentials';
  }
}