PassportElements.fromJson constructor
Parse from a json
Implementation
factory PassportElements.fromJson(Map<String, dynamic> json) =>
PassportElements(
elements: List<PassportElement>.from((json['elements'] ?? [])
.map((item) => PassportElement.fromJson(item))
.toList()),
extra: json['@extra'],
clientId: json['@client_id'],
);