MethodChannel class
- Inheritance
-
- Object
- Channel<
Object, MethodCall> - MethodChannel
Constructors
- MethodChannel.new({required String name})
Properties
Methods
-
decodeException(
PythonMethodException data) → Uint8List -
decodeInput(
MethodCall data) → Uint8List -
decode the input of the channel to bytes
override
-
decodeOutput(
Object data) → Uint8List -
decode the output of the channel to bytes
override
-
encodeException(
Uint8List data) → PythonMethodException -
encodeInput(
Uint8List data) → MethodCall -
encode the input of the channel from bytes
override
-
encodeOutput(
Uint8List data) → Object -
encode the output of the channel from bytes
override
-
invokeMethod(
String method, Object args) → Future< Object?> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
send(
MethodCall msg) → Future< Object?> -
send message through the channel
override
-
setHandler(
void handler(MethodCall, Reply< Object> )) → void -
set the handler used to handel the channel message
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited