getMyClanFireteams function

Future<ServerResponse<SearchResultOfFireteamResponse>> getMyClanFireteams (
  1. HttpClient http,
  2. GetMyClanFireteamsParams params
)

Gets a listing of all clan fireteams that caller is an applicant, a member, or an alternate of.

Implementation

Future<ServerResponse<SearchResultOfFireteamResponse>> getMyClanFireteams(HttpClient http, GetMyClanFireteamsParams params) {
  return http.request(new HttpClientConfig(
    'GET',
    "https://www.bungie.net/Platform/Fireteam/Clan/${params.groupId}/My/${params.platform}/${params.includeClosed}/${params.page}/",
    {
      'groupFilter': params.groupFilter,
      'langFilter': params.langFilter
    },
    null
    ));
}