OnairosService class
Main service class for Onairos SDK Provides a unified interface for SDK initialization and management
Constructors
- OnairosService()
-
factory
Properties
- apiKeyService → ApiKeyService
-
Get the underlying API key service
no setter
- currentApiKey → String?
-
Get current API key
no setter
- environment → String?
-
Get current environment
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isInitialized → bool
-
Check if the service is initialized
no setter
- isUsingAdminKey → bool
-
Check if using admin key
no setter
- isUsingDeveloperKey → bool
-
Check if using developer key
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clearConfiguration(
) → Future< void> - Clear stored configuration
-
getAuthHeaders(
) → Map< String, String> - Get authentication headers
-
initialize(
{String? apiKey, String? environment, bool autoInitWithAdmin = true, bool debug = false}) → Future< void> - Initialize with simple parameters for backward compatibility
-
initializeApiKey(
OnairosConfig config) → Future< void> - Initialize the Onairos SDK with configuration This method provides backward compatibility for external apps
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited