updateTheme method

Future<void> updateTheme(
  1. int id,
  2. File content
)

Updates the given theme

Implementation

Future<void> updateTheme(int id, io.File content) async {
  await _post('/api/theme/$id', data: await content.readAsBytes());
}