copyWith method
Implementation
ValidatedQuantity copyWith({UcumDecimal? value, String? unit}) =>
ValidatedQuantity(value: value ?? this.value, unit: unit ?? this.unit);
ValidatedQuantity copyWith({UcumDecimal? value, String? unit}) =>
ValidatedQuantity(value: value ?? this.value, unit: unit ?? this.unit);