update method

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

Update a ChatMediumModel

Implementation

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