setDownloadedLanguageStatus method

Future setDownloadedLanguageStatus(
  1. DownloadedLanguageStatus downloadedLanguageStatus
)

Implementation

Future setDownloadedLanguageStatus(DownloadedLanguageStatus downloadedLanguageStatus) async {
  return await _storage.set(
    _languages.current.isoCode,
    downloadedLanguageStatus.toJson(),
    Tables.downloadedTours,
  );
}