MethodChannel class

Inheritance

Constructors

MethodChannel.new({required String name})

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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