getDictionarySettings method

Future<GetDictionarySettingsResponse> getDictionarySettings({
  1. RequestOptions? requestOptions,
})

Retrieves the languages for which standard dictionary entries are turned off.

Required API Key ACLs:

  • settings

Parameters:

  • requestOptions additional request configuration.

Implementation

Future<GetDictionarySettingsResponse> getDictionarySettings({
  RequestOptions? requestOptions,
}) async {
  final request = ApiRequest(
    method: RequestMethod.get,
    path: r'/1/dictionaries/*/settings',
  );
  final response = await _retryStrategy.execute(
    request: request,
    options: requestOptions,
  );
  return deserialize<GetDictionarySettingsResponse,
      GetDictionarySettingsResponse>(
    response,
    'GetDictionarySettingsResponse',
    growable: true,
  );
}