getBlockUser static method
Implementation
static Future<List<String>?> getBlockUser() async {
SharedPreferences pref = await SharedPreferences.getInstance();
List<String> data = [];
String? databefore = pref.getString(clubUserBlock);
if (databefore != null) {
List datat = jsonDecode(databefore);
datat.forEach((element) {
data.add(element);
});
}
return data;
}