update method
Implementation
Future update(T record) async {
var map = toJson.call(record);
map['entityId'] = record.entityId;
await _collection.update(map);
}
Future update(T record) async {
var map = toJson.call(record);
map['entityId'] = record.entityId;
await _collection.update(map);
}