setIntValue method

void setIntValue(
  1. EIRType type,
  2. BigInt value
)

Sets an integer value for the specified EIR type.

Implementation

void setIntValue(EIRType type, BigInt value) {
  setAttribute(
    type,
    ByteUtils.bigIntToBytes(value, 16, endianness: Endianness.Little),
  );
}