toJson method
Implementation
Map<String, dynamic> toJson() {
final _json = <String, dynamic>{};
if (type != null) {
_json[r'type'] = type;
}
if (url != null) {
_json[r'url'] = url;
}
if (data != null) {
_json[r'data'] = data;
}
return _json;
}