getPackageLocal method
dynamic
getPackageLocal()
Implementation
getPackageLocal() async {
try {
SharedPreferences _prefs = await SharedPreferences.getInstance();
packageName.value = await _prefs.getString('packageName')!;
packageId.value = await _prefs.getString('packageId')!;
} catch (e) {
packageName.value = '';
packageId.value = '';
}
}