copyWith method
Creates a copy of this spec with the given fields replaced by the non-null parameter values.
Implementation
@override
ClipTriangleModifierSpec copyWith({Clip? clipBehavior}) {
return ClipTriangleModifierSpec(
clipBehavior: clipBehavior ?? this.clipBehavior,
);
}