populator static method

  1. @Deprecated('Use FixedPointValue.populatorWithSignedness instead.')
FixedPointValuePopulator<FixedPointValue> populator({
  1. required int integerWidth,
  2. required int fractionWidth,
  3. bool signed = false,
})

Creates a FixedPointValuePopulator with the provided integerWidth and fractionWidth, which can then be used to complete construction of a FixedPointValue using population functions.

Use populatorWithSignedness for new code.

Implementation

@Deprecated('Use FixedPointValue.populatorWithSignedness instead.')
static FixedPointValuePopulator populator(
        {required int integerWidth,
        required int fractionWidth,
        bool signed = false}) =>
    populatorWithSignedness(
        integerWidth: integerWidth,
        fractionWidth: fractionWidth,
        signed: signed);