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