copyWith method

Depth copyWith({
  1. num? quantity,
  2. num? price,
  3. num? orders,
})

Implementation

Depth copyWith({
  num? quantity,
  num? price,
  num? orders,
}) =>
    Depth(
      quantity: quantity ?? _quantity,
      price: price ?? _price,
      orders: orders ?? _orders,
    );