StringChannel class
This class present chanell that send and recive String
Constructors
- StringChannel.new({required String name})
Properties
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