copyWith method

WebApiModulesSettingsPoSettingsPoApproverRolePoApproverRole copyWith({
  1. String? poApproverRoleId,
  2. String? poApproverRole,
  3. String? poApproverType,
  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

WebApiModulesSettingsPoSettingsPoApproverRolePoApproverRole copyWith(
    {String? poApproverRoleId,
    String? poApproverRole,
    String? poApproverType,
    bool? inactive,
    String? dateStamp,
    String? auditNote,
    String? recordTitle,
    List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
    List<FwStandardDataFwCustomValue>? custom,
    List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
    List<FwStandardDataFwTranslatedValue>? translation}) {
  return WebApiModulesSettingsPoSettingsPoApproverRolePoApproverRole(
      poApproverRoleId: poApproverRoleId ?? this.poApproverRoleId,
      poApproverRole: poApproverRole ?? this.poApproverRole,
      poApproverType: poApproverType ?? this.poApproverType,
      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);
}