InputPassportElementPassportRegistration.fromJson constructor

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

Parse from a json

Implementation

factory InputPassportElementPassportRegistration.fromJson(Map<String, dynamic> json) => InputPassportElementPassportRegistration(
  passportRegistration: InputPersonalDocument.fromJson(json['passport_registration']),
);