add method

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

Add a AppBarModel to the repository, cached

Implementation

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