PassportElementDriverLicense.fromJson constructor

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

Parse from a json

Implementation

factory PassportElementDriverLicense.fromJson(Map<String, dynamic> json) =>
    PassportElementDriverLicense(
      driverLicense: IdentityDocument.fromJson(json['driver_license']),
      extra: json['@extra'],
      clientId: json['@client_id'],
    );