hasBinary static method

dynamic hasBinary(
  1. List packets
)

Implementation

static hasBinary(List packets) {
  return packets.any((map) {
    final data = map['data'];
    return data != null && data is ByteBuffer;
  });
}