copyWith method

WebApiModulesSettingsPoSettingsPoApprovalStatusPoApprovalStatus copyWith({
  1. String? poApprovalStatusId,
  2. String? poApprovalStatus,
  3. String? poApprovalStatusType,
  4. bool? inactive,
  5. String? dateStamp,
  6. String? auditNote,
  7. String? recordTitle,
  8. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  9. List<FwStandardDataFwCustomValue>? custom,
  10. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  11. List<FwStandardDataFwTranslatedValue>? translation,
})

Implementation

WebApiModulesSettingsPoSettingsPoApprovalStatusPoApprovalStatus copyWith(
    {String? poApprovalStatusId,
    String? poApprovalStatus,
    String? poApprovalStatusType,
    bool? inactive,
    String? dateStamp,
    String? auditNote,
    String? recordTitle,
    List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
    List<FwStandardDataFwCustomValue>? custom,
    List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
    List<FwStandardDataFwTranslatedValue>? translation}) {
  return WebApiModulesSettingsPoSettingsPoApprovalStatusPoApprovalStatus(
      poApprovalStatusId: poApprovalStatusId ?? this.poApprovalStatusId,
      poApprovalStatus: poApprovalStatus ?? this.poApprovalStatus,
      poApprovalStatusType: poApprovalStatusType ?? this.poApprovalStatusType,
      inactive: inactive ?? this.inactive,
      dateStamp: dateStamp ?? this.dateStamp,
      auditNote: auditNote ?? this.auditNote,
      recordTitle: recordTitle ?? this.recordTitle,
      fields: fields ?? this.fields,
      custom: custom ?? this.custom,
      defaultFieldAttributes:
          defaultFieldAttributes ?? this.defaultFieldAttributes,
      translation: translation ?? this.translation);
}