Attachment.fromJson constructor
Implementation
factory Attachment.fromJson(Map<String, dynamic> json) {
return Attachment(
json['id'],
json['userId'],
DateTime.parse(json['time']),
json['fileName'],
json['contentType'],
json['deleted'],
json['private'],
json['checkedOut'],
json['holdingId']);
}