getAccountSettings method
Returns the number of unmetered iOS or unmetered Android devices that have been purchased by the account.
May throw ArgumentException.
May throw LimitExceededException.
May throw NotFoundException.
May throw ServiceAccountException.
Implementation
Future<GetAccountSettingsResult> getAccountSettings() async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'DeviceFarm_20150623.GetAccountSettings'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
);
return GetAccountSettingsResult.fromJson(jsonResponse.body);
}