setLocalPermission static method
Implementation
static Future<bool> setLocalPermission(int value) async {
Future<SharedPreferences> _prefs = SharedPreferences.getInstance();
SharedPreferences prefs = await _prefs;
return await prefs.setBool("permission$value", true);
}