copyWithWrapped method
Implementation
ErrorDTO copyWithWrapped(
{Wrapped<String?>? errorVersion,
Wrapped<DateTime?>? timestamp,
Wrapped<int?>? statusCode,
Wrapped<String?>? message,
Wrapped<String?>? details,
Wrapped<dynamic>? exception}) {
return ErrorDTO(
errorVersion:
(errorVersion != null ? errorVersion.value : this.errorVersion),
timestamp: (timestamp != null ? timestamp.value : this.timestamp),
statusCode: (statusCode != null ? statusCode.value : this.statusCode),
message: (message != null ? message.value : this.message),
details: (details != null ? details.value : this.details),
exception: (exception != null ? exception.value : this.exception));
}