addEntity method
Implementation
@override
Future<GridEntity> addEntity(String documentID, GridEntity value) {
return gridCollection
.doc(documentID)
.set(value.toDocument())
.then((_) => value);
}
@override
Future<GridEntity> addEntity(String documentID, GridEntity value) {
return gridCollection
.doc(documentID)
.set(value.toDocument())
.then((_) => value);
}