add static method
Implementation
static void add(
Node node,
int position,
EditorState editorState,
TableDirection dir,
) {
if (dir == TableDirection.col) {
_addCol(node, position, editorState);
} else {
_addRow(node, position, editorState);
}
}