copyWith method

WebApiModulesIntegrationsStorefrontStorefrontProgress copyWith({
  1. DateTime? lastUpdated,
  2. bool? failed,
  3. String? failureMessage,
  4. String? failureStackTrace,
  5. String? sessionId,
  6. String? caption,
  7. int? currentStep,
  8. int? totalSteps,
  9. int? percentComplete,
})

Implementation

WebApiModulesIntegrationsStorefrontStorefrontProgress copyWith({
  DateTime? lastUpdated,
  bool? failed,
  String? failureMessage,
  String? failureStackTrace,
  String? sessionId,
  String? caption,
  int? currentStep,
  int? totalSteps,
  int? percentComplete,
}) {
  return WebApiModulesIntegrationsStorefrontStorefrontProgress(
    lastUpdated: lastUpdated ?? this.lastUpdated,
    failed: failed ?? this.failed,
    failureMessage: failureMessage ?? this.failureMessage,
    failureStackTrace: failureStackTrace ?? this.failureStackTrace,
    sessionId: sessionId ?? this.sessionId,
    caption: caption ?? this.caption,
    currentStep: currentStep ?? this.currentStep,
    totalSteps: totalSteps ?? this.totalSteps,
    percentComplete: percentComplete ?? this.percentComplete,
  );
}