updateThemeMenu method

Future<void> updateThemeMenu(
  1. int themeId,
  2. String field,
  3. int menuId
)

Updates the theme menu for the given field and theme with the given menu

Implementation

Future<void> updateThemeMenu(int themeId, String field, int menuId) async {
  await _put('/api/theme/$themeId/menu/$field', data: {'menu': menuId});
}