add method

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

Implementation

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