Mix<T extends Attribute>.fromList constructor

const Mix<T extends Attribute>.fromList(
  1. List<T> attributes, {
  2. List<Variant<T>> variantToApply = const [],
})

Instantiate a mix from a List of Attribute instances (cannot be null)

Implementation

const Mix.fromList(
  this.attributes, {
  this.variantToApply = const [],
});