NativeConstructorConfig class

Internal constructor configuration for native platform communication Maps to ConstructorConfig in the Kotlin SDK Note: This is for internal use only. Use the Dart ConstructorConfig class in your Flutter code.

Available extensions

Constructors

NativeConstructorConfig({required bool debug, bool? enableCustomLogging, bool? enableExceptionCapture, bool? alsoNativeLogs})

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 enableCustomLogging is true
getter/setter pair
debug bool
Enable or disable debug mode. Set this to true when developing
getter/setter pair
enableCustomLogging bool?
Enable custom logging that forwards native logs to Flutter (optional)
getter/setter pair
enableExceptionCapture bool?
Custom exception capture handler (optional) If not provided, will use default exception handling
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

encode() Object
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
toStringPretty() String

Available on NativeConstructorConfig, provided by the NativeConstructorConfigExtension extension

Operators

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

Static Methods

decode(Object result) NativeConstructorConfig