copyWith method
Implementation
Mix<T> copyWith({
List<T> attributes = const [],
List<Variant<T>> variantToApply = const [],
}) {
return Mix._(
[...this.attributes, ...attributes],
variantToApply: [...this.variantToApply, ...variantToApply],
);
}