serialize method
Serializes this
into a JSON-safe object that can be deserialized using
TestLocation.deserialize.
This method is also used to provide the location in the JSON reporter when a custom location is provided for the test.
Implementation
Map<String, dynamic> serialize() {
return {
'url': uri.toString(),
'line': line,
'column': column,
};
}