initCachedMemory method
void
initCachedMemory()
Implementation
void initCachedMemory() async {
try {
prefs = await SharedPreferences.getInstance();
cacheLanguage("vi");
// cacheAppToken("Bearer ${GtdChannelSettingObject.shared.token}");
if (kDebugMode) {
print("Path initCachedMemory Stream success");
}
} on PlatformException catch (e) {
if (kDebugMode) {
print("Path initCachedMemory PlatformException failed: $e");
}
} catch (e) {
if (kDebugMode) {
print("Path initCachedMemory failed: $e");
}
}
}