copyWith method

ReorderListViewAction copyWith({
  1. ID? id,
  2. String? type,
  3. ActionGroups? group,
  4. ID? controllerID,
  5. int? index,
  6. NodeID? nodeID,
})

Implementation

ReorderListViewAction copyWith({
  ID? id,
  String? type,
  ActionGroups? group,
  ID? controllerID,
  int? index,
  NodeID? nodeID,
}) {
  return ReorderListViewAction(
    id: id ?? this.id,
    type: type ?? this.type,
    controllerID: controllerID ?? this.controllerID,
    index: index ?? this.index,
    nodeID: nodeID ?? this.nodeID,
  );
}