decodeChannel method

  1. @override
(T, Channel)? decodeChannel(
  1. T data,
  2. Channel channel
)
override

Implementation

@override
(T, Channel)? decodeChannel(T data, Channel channel) {
  if (!(filterDecoded?.call(data, channel) ?? true)) {
    return null;
  }
  return super.decodeChannel(data, channel);
}