SwaggerInfo.fromJson constructor

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

Implementation

factory SwaggerInfo.fromJson(Map<String, dynamic> json) => SwaggerInfo(
      title: json['title'],
      contact:
          json['contact'] != null ? Contact.fromJson(json['contact']) : null,
      version: json['version'],
    );