decodeMessage method
- ByteData? message
override
Decodes the specified message
from binary.
Returns null if the message is null.
Implementation
@override
dynamic decodeMessage(ByteData? message) {
if (message == null) {
return message;
}
return json.decode(const StringCodec().decodeMessage(message)!);
}