updateThemeFile method

Future<void> updateThemeFile(
  1. int themeId,
  2. String field,
  3. int fileId
)

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

Implementation

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