reason property

The reason why the document was changed. Is undefined if the reason is not known.

Implementation

_i3.TextDocumentChangeReason? get reason => switch (_i5.getProperty(
      this,
      'reason',
    )) {
      _i2.String name => _i3.TextDocumentChangeReason.values.byName(name),
      _ => null
    };