updateThemeCategory method

Future<void> updateThemeCategory(
  1. int themeId,
  2. String field,
  3. int categoryId
)

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

Implementation

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