InputPassportElementPersonalDetails.fromJson constructor

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

Parse from a json

Implementation

factory InputPassportElementPersonalDetails.fromJson(
        Map<String, dynamic> json) =>
    InputPassportElementPersonalDetails(
      personalDetails: PersonalDetails.fromJson(json['personal_details']),
    );