PassportElementPassport.fromJson constructor

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

Parse from a json

Implementation

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