Mix<T> withMaybeVariants(List<Variant<T>>? variants) { if (variants == null || variants.isEmpty) return this; return withVariants(variants); }