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