TestVariant<T> constructor Null safety

const TestVariant<T>()

A const constructor so that subclasses can be const.

Implementation

const TestVariant();