fromInt static method

  1. @Deprecated('Use `ofInt` instead.')
LogicValue fromInt(
  1. int value,
  2. int width
)

Converts int value to a valid LogicValue with width number of bits.

width must be greater than or equal to 0.

Implementation

@Deprecated('Use `ofInt` instead.')
static LogicValue fromInt(int value, int width) => ofInt(value, width);