add method

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

Add a GridModel to the repository, cached

Implementation

@override
Future<GridModel> add(GridModel value) {
  return reference.add(value).then((newValue) {
    fullCache[value.documentID] = newValue;
    return newValue;
  });
}