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