add method

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

Add a FaderModel to the repository, cached

Implementation

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