@override Object toJson() => { if (apiKeyConfig case final apiKeyConfig?) 'apiKeyConfig': apiKeyConfig.toJson(), };