source property

String source

The actual source input which caused the error.

This is usually a String, but can be other types too. If it is a string, parts of it may be included in the toString message.

The source is null if omitted or unknown.

Implementation

String get source => span.file.getText(0);