hasBlocks property

bool get hasBlocks

Check if inventory contains blocks

Implementation

bool get hasBlocks {
  return invList.any((inv) => inv.type == InvType.msgBlock);
}