cast<T1 extends FVariantConstraint, T2 extends FVariant> method
Returns a new FVariants with the variant type parameters cast to T1 and T2.
Implementation details
This is always valid if T1 and T2 are both extension types over FVariantConstraint and FVariant as in the
case with the generated widget-specific variant constraints.
Implementation
FVariants<T1, T2, V, D> cast<T1 extends FVariantConstraint, T2 extends FVariant>() => this as FVariants<T1, T2, V, D>;