hasScale property

bool hasScale
getter/setter pair

Whether this unit has an additive offset in its converter.

Implementation

late bool hasScale = converter is LinearConverter && (converter as LinearConverter).b != 0;