copyWith method
Implementation
OrderedValue copyWith({
  String? value,
  Optional<String?>? text
}) {
  return OrderedValue(
    value: value ?? this.value,
    text: text != null ? text.value : this.text
  );
}OrderedValue copyWith({
  String? value,
  Optional<String?>? text
}) {
  return OrderedValue(
    value: value ?? this.value,
    text: text != null ? text.value : this.text
  );
}