copyWith method
Implementation
GraphPoint copyWith({
ID? id,
double? x,
double? y,
}) {
return GraphPoint(
id ?? this.id,
x ?? this.x,
y ?? this.y,
);
}
GraphPoint copyWith({
ID? id,
double? x,
double? y,
}) {
return GraphPoint(
id ?? this.id,
x ?? this.x,
y ?? this.y,
);
}