updateEntity method

  1. @override
Future<GridEntity> updateEntity(
  1. String documentID,
  2. GridEntity value
)
override

Implementation

@override
Future<GridEntity> updateEntity(String documentID, GridEntity value) {
  return gridCollection
      .doc(documentID)
      .update(value.toDocument())
      .then((_) => value);
}