getActivePrivateClanFireteamCount static method
Gets a count of all active non-public fireteams for the specified clan. Maximum value returned is 25.
Implementation
static Future<Int32Response> getActivePrivateClanFireteamCount (
HttpClient client,
String groupId,
) async {
final Map<String, dynamic> params = Map<String, dynamic>();
final String _groupId = '$groupId';
final HttpClientConfig config = HttpClientConfig('GET', '/Fireteam/Clan/$_groupId/ActiveCount/', params);
config.bodyContentType = null;
final HttpResponse response = await client.request(config);
if(response.statusCode == 200) {
return Int32Response.asyncFromJson(response.mappedBody);
}
throw Exception(response.mappedBody);
}