getClanBannerSource static method
Returns the dictionary of values for the Clan Banner
Implementation
static Future<ClanBannerSourceResponse> getClanBannerSource (
HttpClient client,
) async {
final Map<String, dynamic> params = Map<String, dynamic>();
final HttpClientConfig config = HttpClientConfig('GET', '/Destiny2/Clan/ClanBannerDictionary/', params);
config.bodyContentType = null;
final HttpResponse response = await client.request(config);
if(response.statusCode == 200) {
return ClanBannerSourceResponse.asyncFromJson(response.mappedBody);
}
throw Exception(response.mappedBody);
}