updateThemeGallery method

Future<void> updateThemeGallery(
  1. int themeId,
  2. String field,
  3. int galleryId
)

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

Implementation

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