update method

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

Update a DocumentModel

Implementation

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