copyWithWrapped method

ErrorResponse copyWithWrapped({
  1. Wrapped<ErrorDetail>? error,
})

Implementation

ErrorResponse copyWithWrapped({Wrapped<ErrorDetail>? error}) {
  return ErrorResponse(error: (error != null ? error.value : this.error));
}