getAvailableThemes static method
Returns a list of all available group themes.
Implementation
static Future<ListOfGroupThemeResponse> getAvailableThemes (
HttpClient client,
) async {
final Map<String, dynamic> params = Map<String, dynamic>();
final HttpClientConfig config = HttpClientConfig('GET', '/GroupV2/GetAvailableThemes/', params);
config.bodyContentType = null;
final HttpResponse response = await client.request(config);
if(response.statusCode == 200) {
return ListOfGroupThemeResponse.asyncFromJson(response.mappedBody);
}
throw Exception(response.mappedBody);
}