add method

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

Add a PayModel to the repository, cached

Implementation

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