updateMenuItem method
Updates the given menu item with the given values
Implementation
Future<void> updateMenuItem(
int itemId, {
String? route,
int? position,
String? title,
int? artist,
int? form,
int? page,
int? segmentPage,
int? gallery,
int? category,
bool? blogHomePage,
bool? highlighted,
}) async {
await _put('/api/menu-item/$itemId', data: {
'route': route,
'position': position,
'title': title,
'artist': artist,
'form': form,
'page': page,
'segmentPage': segmentPage,
'gallery': gallery,
'category': category,
'blogHomePage': blogHomePage,
'highlighted': highlighted,
});
}