valueSI property

  1. @override
Number valueSI
override

The value of the quantity in the base units, of the International System of Units (SI).

This is often referred to as the MKS value to highlight that the units reference meters and kilograms rather than centimeters and grams (CGS) as was often done before standardization. The mks getter offers a shorthand way to retrieve this value.

Implementation

@override
Number get valueSI => _valueSI;
void valueSI=(dynamic value)

Implementation

set valueSI(dynamic value) {
  if (value != _valueSI) {
    if (!mutable) throw ImmutableQuantityException(q: this);
    _valueSI = objToNumber(value);
    _onChange.add(snapshot);
  }
}