MessagePassportDataReceived.fromJson constructor
Parse from a json
Implementation
factory MessagePassportDataReceived.fromJson(Map<String, dynamic> json) =>
MessagePassportDataReceived(
elements: List<EncryptedPassportElement>.from((json['elements'] ?? [])
.map((item) => EncryptedPassportElement.fromJson(item))
.toList()),
credentials: EncryptedCredentials.fromJson(json['credentials']),
);