Api
constructor(apiHost: String, apiKey: String, requests: PortalRequests = PortalRequests(), provider: Provider, featureFlags: FeatureFlags? = null)
Parameters
api Host
The base URL of the API server.
api Key
The API key used for authentication.
requests
An instance of PortalRequests to handle HTTP requests. Defaults to a new instance.
provider
An instance of Provider to access device specific data.
feature Flags
An optional instance of FeatureFlags for feature flag management.