setAutoGenerateDictionary method

Future<void> setAutoGenerateDictionary(
  1. bool value
)

Implementation

Future<void> setAutoGenerateDictionary(bool value) async {
  try {
    await _client.updateAutoGenerateDictionary(autoGenerateDictionary: value);
    await queue.refresh(reloadMeta: true);
    notifyListeners();
  } catch (_) {
    await queue.refresh(reloadMeta: true);
    notifyListeners();
    rethrow;
  }
}