copyWith method

WebApiModulesPluginsKissFlowOrderResponse copyWith({
  1. int? status,
  2. bool? success,
  3. String? msg,
  4. WebApiModulesAgentOrderOrder? order,
  5. String? orderUrl,
  6. String? agentEmail,
  7. String? projectManagerEmail,
  8. String? outsideSalesRepresentativeEmail,
})

Implementation

WebApiModulesPluginsKissFlowOrderResponse copyWith({
  int? status,
  bool? success,
  String? msg,
  WebApiModulesAgentOrderOrder? order,
  String? orderUrl,
  String? agentEmail,
  String? projectManagerEmail,
  String? outsideSalesRepresentativeEmail,
}) {
  return WebApiModulesPluginsKissFlowOrderResponse(
    status: status ?? this.status,
    success: success ?? this.success,
    msg: msg ?? this.msg,
    order: order ?? this.order,
    orderUrl: orderUrl ?? this.orderUrl,
    agentEmail: agentEmail ?? this.agentEmail,
    projectManagerEmail: projectManagerEmail ?? this.projectManagerEmail,
    outsideSalesRepresentativeEmail:
        outsideSalesRepresentativeEmail ??
        this.outsideSalesRepresentativeEmail,
  );
}