copyWith method

WebApiModulesAdministratorControlsCustomModuleCustomModule copyWith({
  1. String? moduleName,
  2. String? auditNote,
  3. String? recordTitle,
  4. dynamic urlIdentifier,
  5. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  6. List<FwStandardDataFwCustomValue>? custom,
  7. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  8. FwStandardBusinessLogicFwBusinessLogic? original,
  9. List<FwStandardDataFwTranslatedValue>? translation,
  10. bool? hasImport,
  11. String? createdByUserId,
  12. String? createdByUserName,
  13. String? createdDateTime,
  14. String? modifiedByUserId,
  15. String? modifiedByUserName,
  16. String? modifiedDateTime,
})

Implementation

WebApiModulesAdministratorControlsCustomModuleCustomModule copyWith({
  String? moduleName,
  String? auditNote,
  String? recordTitle,
  dynamic urlIdentifier,
  List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  List<FwStandardDataFwCustomValue>? custom,
  List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  FwStandardBusinessLogicFwBusinessLogic? original,
  List<FwStandardDataFwTranslatedValue>? translation,
  bool? hasImport,
  String? createdByUserId,
  String? createdByUserName,
  String? createdDateTime,
  String? modifiedByUserId,
  String? modifiedByUserName,
  String? modifiedDateTime,
}) {
  return WebApiModulesAdministratorControlsCustomModuleCustomModule(
    moduleName: moduleName ?? this.moduleName,
    auditNote: auditNote ?? this.auditNote,
    recordTitle: recordTitle ?? this.recordTitle,
    urlIdentifier: urlIdentifier ?? this.urlIdentifier,
    fields: fields ?? this.fields,
    custom: custom ?? this.custom,
    defaultFieldAttributes:
        defaultFieldAttributes ?? this.defaultFieldAttributes,
    original: original ?? this.original,
    translation: translation ?? this.translation,
    hasImport: hasImport ?? this.hasImport,
    createdByUserId: createdByUserId ?? this.createdByUserId,
    createdByUserName: createdByUserName ?? this.createdByUserName,
    createdDateTime: createdDateTime ?? this.createdDateTime,
    modifiedByUserId: modifiedByUserId ?? this.modifiedByUserId,
    modifiedByUserName: modifiedByUserName ?? this.modifiedByUserName,
    modifiedDateTime: modifiedDateTime ?? this.modifiedDateTime,
  );
}