getStyleVariables method
Gets the style variables for the given theme
Implementation
Future<Map<String, String>> getStyleVariables(int id) async {
final response = await _get('/api/theme/$id/styling');
final Map<String, String> map = {};
for (var item in response.data.keys) {
map[item.toString()] = response.data[item].toString();
}
return map;
}