FixedPointValue constructor

  1. @Deprecated('Use FixedPointValue.withSignedness instead.')
FixedPointValue({
  1. required LogicValue integer,
  2. required LogicValue fraction,
  3. bool signed = false,
})

Constructs an unsigned FixedPointValue from integer and fraction.

Use FixedPointValue.withSignedness for new code.

Implementation

@Deprecated('Use FixedPointValue.withSignedness instead.')
factory FixedPointValue(
        {required LogicValue integer,
        required LogicValue fraction,
        bool signed = false}) =>
    FixedPointValue.withSignedness(
        integer: integer, fraction: fraction, signed: signed);