shouldProcessReceived method

bool shouldProcessReceived(
  1. ISpectLogData value
)

Returns true when the received message should be logged.

Implementation

bool shouldProcessReceived(ISpectLogData value) {
  if (receivedChain != null) return receivedChain!.apply(value);
  return receivedFilter?.call(value) ?? true;
}