copyWith method
Creates a new Coordinate from this one by updating individual properties.
Implementation
Coordinate copyWith({
double? value,
Offset? offset,
double? radius,
double? zoomedFactor,
}) =>
Coordinate(
value: value ?? this.value,
offset: offset ?? this.offset,
radius: radius ?? this.radius,
zoomedFactor: zoomedFactor ?? this.zoomedFactor,
);