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