SecurityScheme.oauth2 constructor
const
SecurityScheme.oauth2({
- required Map<
String, SecuritySchemeFlow> flows, - String? description,
Creates an OAuth2 security scheme.
Implementation
const SecurityScheme.oauth2({
required Map<String, SecuritySchemeFlow> flows,
String? description,
}) : this._(type: 'oauth2', flows: flows, description: description);