moveMenuItemToMenuParent method

Future<void> moveMenuItemToMenuParent(
  1. int menuId,
  2. int itemId
)

Moves the given menu item to the menu as the new parent

Implementation

Future<void> moveMenuItemToMenuParent(int menuId, int itemId) async {
  await _put('/api/menu/$itemId/move/parent/to/menu/$menuId');
}