copyWith method

GraphState copyWith({
  1. List<InputNode>? nodes,
})

Implementation

GraphState copyWith({
  List<InputNode>? nodes,
}) {
  return GraphState(
    nodes: nodes ?? this.nodes,
  );
}