AttachmentData.fromJson constructor
AttachmentData.fromJson(
- dynamic jsonData
Implementation
AttachmentData.fromJson(dynamic jsonData) {
Map<String, dynamic> decoded = credentialToMap(jsonData);
jws = decoded['jws'];
hash = decoded['hash'];
if (decoded.containsKey('links')) links = decoded['links']?.cast<String>();
base64 = decoded['base64'];
json = decoded['json'];
}