location property Null safety
A human-friendly description of the code location.
Implementation
String get location {
if (line == null) return library;
if (column == null) return '$library $line';
return '$library $line:$column';
}
A human-friendly description of the code location.
String get location {
if (line == null) return library;
if (column == null) return '$library $line';
return '$library $line:$column';
}