decodeMessage method Null safety

  1. @override
ByteData? decodeMessage(
  1. ByteData? message
)
override

Decodes the specified message from binary.

Returns null if the message is null.

Implementation

@override
ByteData? decodeMessage(ByteData? message) => message;