add method

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

Add a DividerModel to the repository, cached

Implementation

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