copyWith method

MixData copyWith({
  1. AttributeMap<Attribute>? attributes,
  2. AnimatedData? animation,
  3. MixTokenResolver? resolver,
})

Implementation

MixData copyWith({
  AttributeMap? attributes,
  AnimatedData? animation,
  MixTokenResolver? resolver,
}) {
  return MixData._(
    resolver: resolver ?? _tokenResolver,
    attributes: attributes ?? _attributes,
    animation: animation ?? this.animation,
  );
}