JlpResult.fromJson constructor

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

Implementation

factory JlpResult.fromJson(Map<String, dynamic> json) => JlpResult(
    airport: json["airport"] == null ? null : JapaneseLandingPermissionResultField.fromJson(json["airport"]),
    dateOfExpiry: json["dateOfExpiry"] == null ? null : JapaneseLandingPermissionResultField.fromJson(json["dateOfExpiry"]),
    dateOfIssue: json["dateOfIssue"] == null ? null : JapaneseLandingPermissionResultField.fromJson(json["dateOfIssue"]),
    duration: json["duration"] == null ? null : JapaneseLandingPermissionResultField.fromJson(json["duration"]),
    status: json["status"] == null ? null : JapaneseLandingPermissionResultField.fromJson(json["status"]),
);