ValidatedQuantity constructor
ValidatedQuantity({
- required UcumDecimal value,
- String? unit,
Implementation
ValidatedQuantity({required super.value, String? unit})
: super(unit: (unit?.isNotEmpty ?? false) ? unit! : '1');