copyWith method
Creates a copy of the Length instance and allows for non-destructive mutation.
Implementation
Length copyWith({
num? value,
String? unit,
Uri? system,
String? code,
}) =>
Length(
value: value ?? this.value,
unit: unit ?? this.unit,
system: system ?? this.system,
code: code ?? this.code,
);