DataAttachment.fromJSON constructor

DataAttachment.fromJSON(
  1. Map<String, dynamic> data
)

Implementation

factory DataAttachment.fromJSON(Map<String, dynamic> data) {
	return DataAttachment(
		couchDbAttachmentId: (data["couchDbAttachmentId"] as String?),
		objectStoreAttachmentId: (data["objectStoreAttachmentId"] as String?),
		utis: (data["utis"] as List<dynamic>).map((x0) => (x0 as String) ).toList()
	);
}