from static method
- @Deprecated('Use `of` instead.')
- Iterable<
LogicValue> it
Constructs a LogicValue from it
.
The order of the created LogicValue will be such that the i
th entry
in it
corresponds to the i
th 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);