update method

  1. @override
Future<DrawerModel> update(
  1. DrawerModel value
)
override

Update a DrawerModel

Implementation

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