from static method

  1. @Deprecated('Use `of` instead.')
LogicValue from(
  1. Iterable<LogicValue> it
)

Constructs a LogicValue from it.

The order of the created LogicValue will be such that the ith entry in it corresponds to the ith bit. That is, the 0th element of it will be the 0th bit of the returned LogicValue.

var it = [LogicValue.zero, LogicValue.x, LogicValue.one];
var lv = LogicValue.from(it);
print(lv); // This prints `3b'1x0`

Implementation

@Deprecated('Use `of` instead.')
static LogicValue from(Iterable<LogicValue> it) => ofIterable(it);