InputPassportElementDriverLicense.fromJson constructor

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

Parse from a json

Implementation

factory InputPassportElementDriverLicense.fromJson(
        Map<String, dynamic> json) =>
    InputPassportElementDriverLicense(
      driverLicense: InputIdentityDocument.fromJson(json['driver_license']),
    );