Condition.block constructor

Condition.block(
  1. Location cond, {
  2. required Block block,
})

checks whether a block is at a given location

Implementation

Condition.block(Location cond, {required Block block}) {
  _setCond(cond, block: block);
}