didChange method
Replaces the whole content of uri with text (a full-document change).
Implementation
void didChange(String uri, String text, {int? version}) {
sendNotification('textDocument/didChange', {
'textDocument': {'uri': uri, 'version': ?version},
'contentChanges': [
{'text': text},
],
});
}