getInt method

int getInt(
  1. String name
)

Effective value of an int parameter, the assigned value if set, otherwise the sidecar default. Throws on an unknown name or wrong type.

Implementation

int getInt(String name) =>
    _block.getInt32(_slot(name, FmatType.int_).offsetBytes, Endian.host);