InputPassportElementIdentityCard.fromJson constructor

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

Parse from a json

Implementation

factory InputPassportElementIdentityCard.fromJson(Map<String, dynamic> json) => InputPassportElementIdentityCard(
  identityCard: InputIdentityDocument.fromJson(json['identity_card']),
);