getSanitizedPlatformDisplayNames static method
Future<CEDictionaryOfBungieCredentialTypeAndstringResponse>
getSanitizedPlatformDisplayNames(
- HttpClient client,
- String membershipId
Gets a list of all display names linked to this membership id but sanitized (profanity filtered). Obeys all visibility rules of calling user and is heavily cached.
Implementation
static Future<CEDictionaryOfBungieCredentialTypeAndstringResponse> getSanitizedPlatformDisplayNames (
HttpClient client,
String membershipId,
) async {
final Map<String, dynamic> params = Map<String, dynamic>();
final String _membershipId = '$membershipId';
final HttpClientConfig config = HttpClientConfig('GET', '/User/GetSanitizedPlatformDisplayNames/$_membershipId/', params);
config.bodyContentType = null;
final HttpResponse response = await client.request(config);
if(response.statusCode == 200) {
return CEDictionaryOfBungieCredentialTypeAndstringResponse.asyncFromJson(response.mappedBody);
}
throw Exception(response.mappedBody);
}