copyWith method

OrderOption copyWith({
  1. OrderOptionType? type,
  2. bool? asc,
})

Implementation

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