update method

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

Update a PublicMediumModel

Implementation

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