toolString property
Returns a representation of this location in the source:line:column
format used by text editors.
This prints 1-based lines and columns.
Implementation
String get toolString {
var source = sourceUrl == null ? 'unknown source' : sourceUrl;
return '$source:${line + 1}:${column + 1}';
}