duplicate static method

void duplicate(
  1. Node node,
  2. int position,
  3. EditorState editorState,
  4. TableDirection dir,
)

Implementation

static void duplicate(
  Node node,
  int position,
  EditorState editorState,
  TableDirection dir,
) {
  if (dir == TableDirection.col) {
    _duplicateCol(node, position, editorState);
  } else {
    _duplicateRow(node, position, editorState);
  }
}