PassportElementPassportRegistration.fromJson constructor

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

Parse from a json

Implementation

factory PassportElementPassportRegistration.fromJson(
        Map<String, dynamic> json) =>
    PassportElementPassportRegistration(
      passportRegistration:
          PersonalDocument.fromJson(json['passport_registration']),
      extra: json['@extra'],
      clientId: json['@client_id'],
    );