update method

  1. @override
Future<GridModel> update(
  1. GridModel value
)
override

Implementation

@override
Future<GridModel> update(GridModel value) {
  return gridCollection
      .doc(value.documentID)
      .update(value.toEntity(appId: appId).toDocument())
      .then((_) => value);
}