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