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