getContentSettings method

Future<Result<AccountContentSettingsBase>> getContentSettings()

Get Content Settings.

ID: 8b9b4dae.

Implementation

Future<Result<AccountContentSettingsBase>> getContentSettings() async {
  // Preparing the request.
  final request = AccountGetContentSettings();

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

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