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