Returns a JSON presentation of the object.
@override Map<String, Object> toJson() { var result = <String, Object>{}; result['message'] = message; result['location'] = location.toJson(); return result; }