SwaggerSecurity.fromJson constructor

SwaggerSecurity.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory SwaggerSecurity.fromJson(Map<String, dynamic> json) {
  return SwaggerSecurity(
    name: json['name'],
    type: json['type'],
    description: json['description'],
    scheme: json['scheme'],
    bearerFormat: json['bearerFormat'],
  );
}