HighlightResult constructor
HighlightResult({
- required String language,
- required num relevance,
- required TokenTreeEmitter emitter,
- bool illegal = false,
- Mode? top,
- HighlightContinuation? continuation,
- HighlightResult? secondBest,
- String? code,
- dynamic errorRaised,
- Map<
String, dynamic> ? illegalBy, - String? value,
Implementation
HighlightResult({
required this.language,
required this.relevance,
required this.emitter,
this.illegal = false,
this.top,
this.continuation,
this.secondBest,
this.code,
this.errorRaised,
this.illegalBy,
String? value,
}) : _value = value;