clonePopulator method

  1. @mustBeOverridden
SignMagnitudeValuePopulator<SignMagnitudeValue> clonePopulator()

Creates a SignMagnitudeValuePopulator for the same type as this and with the same widths.

This must be overridden in subclasses so that the correct type of SignMagnitudeValuePopulator is returned for generating equivalent types of SignMagnitudeValues.

Implementation

@mustBeOverridden
SignMagnitudeValuePopulator clonePopulator() => SignMagnitudeValuePopulator(
    SignMagnitudeValue.uninitialized()..width = width);