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