copyWith method

WebApiModulesUtilitiesProgressMeterProgressMeter copyWith({
  1. String? sessionId,
  2. String? caption,
  3. int? currentStep,
  4. int? totalSteps,
  5. int? percentComplete,
  6. String? auditNote,
  7. String? recordTitle,
  8. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  9. List<FwStandardDataFwCustomValue>? custom,
  10. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  11. List<FwStandardDataFwTranslatedValue>? translation,
})

Implementation

WebApiModulesUtilitiesProgressMeterProgressMeter copyWith(
    {String? sessionId,
    String? caption,
    int? currentStep,
    int? totalSteps,
    int? percentComplete,
    String? auditNote,
    String? recordTitle,
    List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
    List<FwStandardDataFwCustomValue>? custom,
    List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
    List<FwStandardDataFwTranslatedValue>? translation}) {
  return WebApiModulesUtilitiesProgressMeterProgressMeter(
      sessionId: sessionId ?? this.sessionId,
      caption: caption ?? this.caption,
      currentStep: currentStep ?? this.currentStep,
      totalSteps: totalSteps ?? this.totalSteps,
      percentComplete: percentComplete ?? this.percentComplete,
      auditNote: auditNote ?? this.auditNote,
      recordTitle: recordTitle ?? this.recordTitle,
      fields: fields ?? this.fields,
      custom: custom ?? this.custom,
      defaultFieldAttributes:
          defaultFieldAttributes ?? this.defaultFieldAttributes,
      translation: translation ?? this.translation);
}