@override Object toJson() => { if (diskConfigs.isNotDefault) 'diskConfigs': [for (final i in diskConfigs) i.toJson()], };