TextSyntaxSnapshot<State> constructor
TextSyntaxSnapshot<State> ({
- String? text,
- required List<
TextDecorationRange> decorations, - required String? language,
- TextDocument? document,
- State? state,
- TextDocumentChange? change,
Implementation
TextSyntaxSnapshot({
String? text,
required this.decorations,
required this.language,
this.document,
this.state,
this.change,
}) : _text = text;