update method

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

Update a MenuDefModel

Implementation

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