core.Map<core.String, core.dynamic> toJson() => { if (newNamePattern != null) 'newNamePattern': newNamePattern!, if (sourceNameTransformation != null) 'sourceNameTransformation': sourceNameTransformation!, };