updateThemeSegmentPage method

Future<void> updateThemeSegmentPage(
  1. int themeId,
  2. String field,
  3. int segmentPageId
)

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

Implementation

Future<void> updateThemeSegmentPage(int themeId, String field, int segmentPageId) async {
  await _put('/api/theme/$themeId/segment-page/$field', data: {'segmentPage': segmentPageId});
}