@override Object toJson() => { 'channels': [for (final i in channels) i.toJson()], 'apiKeyConfig': ?apiKeyConfig?.toJson(), };