copyWith method

ValidatedOrderInfo copyWith({
  1. String? orderInfoId,
  2. List<ShippingOption>? shippingOptions,
  3. dynamic extra,
  4. int? clientId,
})

Implementation

ValidatedOrderInfo copyWith({
  String? orderInfoId,
  List<ShippingOption>? shippingOptions,
  dynamic extra,
  int? clientId,
}) => ValidatedOrderInfo(
  orderInfoId: orderInfoId ?? this.orderInfoId,
  shippingOptions: shippingOptions ?? this.shippingOptions,
  extra: extra ?? this.extra,
  clientId: clientId ?? this.clientId,
);