copyWith method
Implementation
GrafoNode copyWith(
{int? id, Offset? position, String? name, Size? size, bool? selected}) {
return GrafoNode(
id: id ?? this.id,
name: name ?? this.name,
size: size ?? this.size,
selected: selected ?? this.selected,
position: position ?? this.position);
}