ControlDecoder typedef
ControlDecoder =
ControlMessage Function(int? channelId, Map<String, dynamic> data)
Decodes a control-message payload (the envelope d) for a registered type.
Receives the channel id from the envelope c and the payload map d.
Implementation
typedef ControlDecoder =
ControlMessage Function(int? channelId, Map<String, dynamic> data);