add method

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

Add a FollowingModel to the repository, cached

Implementation

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