populatorWithSignedness static method

FixedPointValuePopulator<FixedPointValue> populatorWithSignedness({
  1. required int integerWidth,
  2. required int fractionWidth,
  3. bool signed = true,
})

Creates a FixedPointValuePopulator with the provided widths and signedness.

Implementation

static FixedPointValuePopulator populatorWithSignedness(
        {required int integerWidth,
        required int fractionWidth,
        bool signed = true}) =>
    FixedPointValuePopulator(
        FixedPointValue.uninitializedWithSignedness(signed: signed)
          ..integerWidth = integerWidth
          ..fractionWidth = fractionWidth);