encodeChannel method
- T data,
- Channel channel
override
Implementation
@override
(T, Channel)? encodeChannel(T data, Channel channel) {
if (!(filterEncoded?.call(data, channel) ?? true)) {
return null;
}
return super.encodeChannel(data, channel);
}