copyWith method
Implementation
OrderOption copyWith({
OrderOptionType? type,
bool? asc,
}) {
return OrderOption(
asc: asc ?? this.asc,
type: type ?? this.type,
);
}
OrderOption copyWith({
OrderOptionType? type,
bool? asc,
}) {
return OrderOption(
asc: asc ?? this.asc,
type: type ?? this.type,
);
}