getAccountSettings method

Future<AccountSettings> getAccountSettings()

Returns information about the status of the DeletionProtection parameter.

May throw BadRequestException. May throw InternalServerException.

Implementation

Future<AccountSettings> getAccountSettings() async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/settings',
    exceptionFnMap: _exceptionFns,
  );
  return AccountSettings.fromJson(response);
}