getPartnerships function

Future<ServerResponse<List<PublicPartnershipDetail>>> getPartnerships (HttpClient http, GetPartnershipsParams params)

Returns a user's linked Partnerships.

Implementation

Future<ServerResponse<List<PublicPartnershipDetail>>> getPartnerships(HttpClient http, GetPartnershipsParams params) {
  return http.request(new HttpClientConfig(
    'GET',
    "https://www.bungie.net/Platform/User/${params.membershipId}/Partnerships/",
    null,
    null
    ));
}