add method

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

Add a PlayStoreModel to the repository, cached

Implementation

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