Notice c-tor side effect

The current API for Notice looks smelly. It’s usage gets reported by Sonar and eslint. C-tor invocation leads to immediately displaying of the notice. What if you want to add color in future (i.e. notice.setWarning()) before displaying it?

I believe this API should be improved