StringChannel class

This class present chanell that send and recive String

Inheritance

Constructors

StringChannel.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

decodeInput(String data) Uint8List
decode the input of the channel to bytes
override
decodeOutput(String data) Uint8List
decode the output of the channel to bytes
override
encodeInput(Uint8List data) String
encode the input of the channel from bytes
override
encodeOutput(Uint8List data) String
encode the output of the channel from bytes
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
send(String msg) Future<String?>
send message through the channel
inherited
setHandler(void handler(String, Reply<String>)) → 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