copyWith method

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

Implementation

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