ConstructorConfig class

Constructor configuration for creating the Combain SDK instance. This configuration controls SDK-level behavior like logging and exception capture.

Separate from CombainSDKConfig which contains deployment-specific configuration like API keys and device identifiers.

Constructors

ConstructorConfig({required bool debug, CombainLogger? logger, CombainExceptionCapture? exceptionCapture, bool alsoNativeLogs = false})

Properties

alsoNativeLogs bool
Also log to native loggers (Logcat on Android, os.Logger on iOS) in addition to forwarding to Flutter (optional) Only has effect when logger is provided
final
debug bool
Enable or disable debug mode. Set this to true when developing
final
exceptionCapture CombainExceptionCapture?
Custom exception capture handler (optional) If provided, native exceptions will be forwarded to this handler
final
hashCode int
The hash code for this object.
no setterinherited
logger CombainLogger?
Custom logger for SDK logs (optional) If provided, native logs will be forwarded to this logger
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toNativeConfig() NativeConstructorConfig
Converts to the internal Pigeon config used for native platform communication
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited