encode static method

Map<String, dynamic> encode(
  1. EntityReference value
)

Implementation

static Map<String, dynamic> encode(EntityReference value) {
	Map<String, dynamic> entityAsMap = {
		"id" : value.id,
		"rev" : value.rev,
		"deletionDate" : value.deletionDate,
		"docId" : value.docId
	};
	return entityAsMap;
}