PassportElementPhoneNumber.fromJson constructor

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

Parse from a json

Implementation

factory PassportElementPhoneNumber.fromJson(Map<String, dynamic> json) =>
    PassportElementPhoneNumber(
      phoneNumber: json['phone_number'],
      extra: json['@extra'],
      clientId: json['@client_id'],
    );