checkPermissionSetBefore static method
Implementation
static Future<bool> checkPermissionSetBefore(int value) async {
Future<SharedPreferences> _prefs = SharedPreferences.getInstance();
SharedPreferences prefs = await _prefs;
final _hasPermissionSetBefore = prefs.getBool("permission$value");
return _hasPermissionSetBefore ?? false;
}