SecurityScheme.oauth2 constructor
const
SecurityScheme.oauth2({
- String? description,
- 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;