TextSyntaxSnapshot<State> constructor

TextSyntaxSnapshot<State>({
  1. String? text,
  2. required List<TextDecorationRange> decorations,
  3. required String? language,
  4. TextDocument? document,
  5. State? state,
  6. TextDocumentChange? change,
})

Implementation

TextSyntaxSnapshot({
  String? text,
  required this.decorations,
  required this.language,
  this.document,
  this.state,
  this.change,
}) : _text = text;