MethodChannelComplycube class
An implementation of ComplycubePlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- ComplycubePlatform
- MethodChannelComplycube
Constructors
Properties
- errorChannel → EventChannel
-
The event channel is used to receive state change events.
final
- errorsChannel → EventChannel
-
The event channel is used to receive state change events.
final
- eventChannel → EventChannel
-
The event channel is used to receive state change events.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
The method channel is used to interact with the native platform.
final
-
onCancelled
→ Stream<
ComplyCubeError> -
Can only be listened once. If have more than one subscription, only the last subscription can receive events.
no setteroverride
-
onComplyCubeEvents
→ Stream<
ComplyCubeEvent> -
Can only be listened once. If have more than one subscription, only the last subscription can receive events.
no setteroverride
-
onError
→ Stream<
List< ComplyCubeError> > -
Can only be listened once. If have more than one subscription, only the last subscription can receive events.
no setteroverride
-
onSuccess
→ Stream<
ComplyCubeResult> -
Can only be listened once. If have more than one subscription, only the last subscription can receive events.
no setteroverride
- resultChannel → EventChannel
-
The event channel is used to receive state change events.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getPlatformVersion(
) → Future< String?> -
Returns the platform version of the device
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
openCCubeNativeBuild(
{required Map< String, dynamic> settings}) → Future<String?> -
The funciton that calls complycube native code with the required settings
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited