copyWith method
Creates a deep copy of this Ratio.
Implementation
Ratio copyWith({
Quantity? numerator,
Quantity? denominator,
}) =>
Ratio(
numerator: numerator ?? this.numerator,
denominator: denominator ?? this.denominator,
);