PassportElementTemporaryRegistration.fromJson constructor

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

Parse from a json

Implementation

factory PassportElementTemporaryRegistration.fromJson(Map<String, dynamic> json) => PassportElementTemporaryRegistration(
  temporaryRegistration: PersonalDocument.fromJson(json['temporary_registration']),
  extra: json['@extra'],
  clientId: json['@client_id'],
);