copyWith method
- ResourceErrorReason? reason,
- String? message,
- 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,
);