MethodChannelKnotapiFlutter class
An implementation of KnotapiFlutterPlatform that communicates with the native platform using method channels and event channels.
- Inheritance
-
- Object
- PlatformInterface
- KnotapiFlutterPlatform
- MethodChannelKnotapiFlutter
Constructors
Properties
- eventChannel → EventChannel
-
The event channel used to receive asynchronous events from the native platform.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
The method channel used to invoke platform-specific methods.
final
-
onObject
→ Stream<
KnotObject> -
A stream of KnotObject events received from the native platform.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
close(
) → Future< void> -
Closes the Knot API session.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
open(
KnotConfiguration configuration) → Future< void> -
Opens the Knot API session with the provided
configuration
.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited