getAutoDownloadSettings method

Future<Result<AccountAutoDownloadSettingsBase>> getAutoDownloadSettings()

Get Auto Download Settings.

ID: 56da0b3f.

Implementation

Future<Result<AccountAutoDownloadSettingsBase>>
    getAutoDownloadSettings() async {
  // Preparing the request.
  final request = AccountGetAutoDownloadSettings();

  // Invoke and wait for response.
  final response = await _c.invoke(request);

  // Return the result.
  return response._to<AccountAutoDownloadSettingsBase>();
}