copyWith method

PlaceOrderResponse copyWith({
  1. num? success,
  2. String? message,
  3. String? orderId,
})

Implementation

PlaceOrderResponse copyWith({  num? success,
  String? message,
  String? orderId,
}) => PlaceOrderResponse(  success: success ?? _success,
  message: message ?? _message,
  orderId: orderId ?? _orderId,
);