Create a new TypeDefVariant with the given variants
TypeDefVariant
const TypeDefVariant({required this.variants});