PassportElementIdentityCard.fromJson constructor

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

Parse from a json

Implementation

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