copyWith method

WebApiModulesUtilitiesOrderLocationScheduleOrderLocationScheduleEvent copyWith({
  1. String? start,
  2. String? end,
  3. String? text,
  4. String? backColor,
  5. String? barColor,
  6. String? textColor,
  7. String? resource,
  8. String? orderId,
  9. String? orderNumber,
  10. String? orderType,
  11. String? orderStatus,
  12. String? orderDescription,
  13. String? orderLocation,
  14. String? deal,
  15. String? poNumber,
  16. String? id,
  17. String? orderBy,
})

Implementation

WebApiModulesUtilitiesOrderLocationScheduleOrderLocationScheduleEvent
copyWith({
  String? start,
  String? end,
  String? text,
  String? backColor,
  String? barColor,
  String? textColor,
  String? resource,
  String? orderId,
  String? orderNumber,
  String? orderType,
  String? orderStatus,
  String? orderDescription,
  String? orderLocation,
  String? deal,
  String? poNumber,
  String? id,
  String? orderBy,
}) {
  return WebApiModulesUtilitiesOrderLocationScheduleOrderLocationScheduleEvent(
    start: start ?? this.start,
    end: end ?? this.end,
    text: text ?? this.text,
    backColor: backColor ?? this.backColor,
    barColor: barColor ?? this.barColor,
    textColor: textColor ?? this.textColor,
    resource: resource ?? this.resource,
    orderId: orderId ?? this.orderId,
    orderNumber: orderNumber ?? this.orderNumber,
    orderType: orderType ?? this.orderType,
    orderStatus: orderStatus ?? this.orderStatus,
    orderDescription: orderDescription ?? this.orderDescription,
    orderLocation: orderLocation ?? this.orderLocation,
    deal: deal ?? this.deal,
    poNumber: poNumber ?? this.poNumber,
    id: id ?? this.id,
    orderBy: orderBy ?? this.orderBy,
  );
}