EntityReference.fromJSON constructor

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

Implementation

factory EntityReference.fromJSON(Map<String, dynamic> data) {
	return EntityReference(
		(data["id"] as String),
		rev: (data["rev"] as String?),
		deletionDate: (data["deletionDate"] as int?),
		docId: (data["docId"] as String?),
	);
}