copyWith method
Implementation
GraphicContext copyWith(
{Position? position,
PColor? color,
PColor? backgroundColor,
num? scaleX,
num? scaleY}) =>
GraphicContext(
position: position ?? this.position,
color: color ?? this.color,
backgroundColor: backgroundColor ?? this.backgroundColor,
scaleX: scaleX ?? this.scaleX,
scaleY: scaleY ?? this.scaleY);