copyWith method
Makes a deep copy of this Quantity.
Implementation
Quantity copyWith({
num? value,
String? unit,
Uri? system,
String? code,
}) =>
Quantity(
value: value ?? this.value,
unit: unit ?? this.unit,
system: system ?? this.system,
code: code ?? this.code,
);