copyWithWrapped method
Implementation
ErrorV2 copyWithWrapped(
{Wrapped<int?>? statusCode,
Wrapped<String?>? message,
Wrapped<String?>? details,
Wrapped<dynamic>? exception}) {
return ErrorV2(
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));
}