toString method
- @override
override
Returns a string representation of this object.
Implementation
@override
String toString() {
var result = "--- START ERROR INFO ---\n";
result += "Error: " + _error.toString() + "\n";
result += "Payload: " + _payload.toString() + "\n";
_locations.forEach((location) {
result += "From " + location.toString() + "\n";
});
result += "--- END ERROR INFO ---\n";
return result;
}