add method

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

Add a AppModel to the repository, cached

Implementation

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