MultiSourceSpanFormatException class Null safety

A MultiSourceSpanException that's also a FormatException.

Inheritance
Implemented types

Constructors

MultiSourceSpanFormatException(String message, SourceSpan? span, String primaryLabel, Map<SourceSpan, String> secondarySpans, [dynamic source])

Properties

hashCode int
The hash code for this object.
read-onlyinherited
message String
A message describing the exception.
read-onlyinherited
offset int?
The offset in source where the error was detected.
read-onlyoverride
primaryLabel String
A label to attach to span that provides additional information and helps distinguish it from secondarySpans.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
secondarySpans Map<SourceSpan, String>
A map whose keys are secondary spans that should be highlighted.
finalinherited
source → dynamic
The actual source input which caused the error.
final
span SourceSpan?
The span associated with this exception.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString({dynamic color, String? secondaryColor}) String
Returns a string representation of this.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited