update method

void update(
  1. String uri,
  2. String text
)

Updates the content text of a document.

Implementation

void update(String uri, String text) {
  _documents[uri] = text;
}