createTheme method

Future<void> createTheme(
  1. String name,
  2. File content
)

Uploads a new theme

Implementation

Future<void> createTheme(String name, io.File content) async {
  await _post('/api/theme?name=$name', data: await content.readAsBytes());
}