updateThemeSimplePage method

Future<void> updateThemeSimplePage(
  1. int themeId,
  2. String field,
  3. int simplePageId
)

Updates the theme simple page for the given field and theme with the given simple page

Implementation

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