copyWith method

ResourceTransformError copyWith({
  1. ResourceErrorReason? reason,
  2. String? message,
  3. int? retryAfterUnixMs,
})

A copy of this value with the given members replaced.

Implementation

ResourceTransformError copyWith({
  ResourceErrorReason? reason,
  String? message,
  int? retryAfterUnixMs,
}) => ResourceTransformError(
  reason: reason ?? this.reason,
  message: message ?? this.message,
  retryAfterUnixMs: retryAfterUnixMs ?? this.retryAfterUnixMs,
);