fromJson method
Implementation
void fromJson(Map data) {
id = data['id'];
name = data['attributes']?[kName] ?? '';
sourceIp = data['attributes']?[kSourceIp] ?? '';
md5 = data['attributes']?[kMd5] ?? '';
contentType = data['attributes']?[kContentType] ?? '';
fileSize = data['attributes']?[kFileSize] ?? '';
expiresAt = data['attributes']?[kExpiresAt] ?? '';
}