getBlockIdFromInt function

BlockId getBlockIdFromInt(
  1. int blockId
)

Returns a BlockId object for the block at the given blockId.

Implementation

BlockId getBlockIdFromInt(int blockId) {
  return BlockId(
    value: [blockId],
  );
}