fromBool static method

  1. @Deprecated('Use `ofBool` instead.')
LogicValue fromBool(
  1. bool value
)

Converts bool value to a valid LogicValue with 1 bits either one or zero.

Implementation

@Deprecated('Use `ofBool` instead.')
// ignore: avoid_positional_boolean_parameters
static LogicValue fromBool(bool value) => ofBool(value);