InputPassportElementDriverLicense.fromJson constructor

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

Parses a InputPassportElementDriverLicense from TDLib JSON.

Implementation

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