QuantityTransformation constructor
const
QuantityTransformation({
- String pattern = defaultValuePattern,
- Set<
QuantityUnit> permissibleValueUnits = QuantityUnits.all,
Creates a QuantityTransformation that will format values using the specified pattern, only using permissibleValueUnits.
Implementation
const QuantityTransformation({
this.pattern = defaultValuePattern,
this.permissibleValueUnits = QuantityUnits.all,
});