OnairosConfig class
Configuration class for Onairos SDK initialization Follows the standardized API key validation specification
Constructors
- OnairosConfig({String? apiKey, String? environment, bool autoInitWithAdmin = true, bool debug = false, bool enableLogging = false, int timeout = 30000, int retryAttempts = 3, String? baseUrl, bool offlineMode = false})
-
const
-
OnairosConfig.fromMap(Map<
String, dynamic> map) -
Create OnairosConfig from Map
factory
Properties
- apiKey → String?
-
final
- autoInitWithAdmin → bool
-
final
- baseUrl → String?
-
final
- debug → bool
-
final
- enableLogging → bool
-
final
- environment → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- offlineMode → bool
-
final
- retryAttempts → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timeout → int
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> - Convert to Map
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited