toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (source_ != null) {
json[r'source'] = source_;
}
if (target != null) {
json[r'target'] = target;
}
if (filter != null) {
json[r'filter'] = filter;
}
if (localTarget != null) {
json[r'localTarget'] = localTarget;
}
return json;
}