SecurityScheme.oauth2 constructor

const SecurityScheme.oauth2({
  1. String? description,
  2. required OAuthFlows flows,
})

Implementation

const factory SecurityScheme.oauth2({
  /// A description for security scheme.
  String? description,

  /// An object containing configuration information for the flow types supported.
  required OAuthFlows flows,
}) = _SecuritySchemeOauth2;