getDestinyManifest static method
Returns the current version of the manifest as a json object.
Implementation
static Future<DestinyManifestResponse> getDestinyManifest (
HttpClient client,
) async {
final Map<String, dynamic> params = Map<String, dynamic>();
final HttpClientConfig config = HttpClientConfig('GET', '/Destiny2/Manifest/', params);
config.bodyContentType = null;
final HttpResponse response = await client.request(config);
if(response.statusCode == 200) {
return DestinyManifestResponse.asyncFromJson(response.mappedBody);
}
throw Exception(response.mappedBody);
}