combineAll<T extends Attribute> static method
Same as combine, but accepts a List of Mix instances
Implementation
static Mix<T> combineAll<T extends Attribute>(List<Mix<T>> mixes) {
final attributes = mixes.expand((element) => element.attributes).toList();
final variantToApply =
mixes.expand((element) => element.variantToApply).toList();
return Mix._(
attributes,
variantToApply: variantToApply,
);
}