fromJson method
Loads the country block list from a JSON string NOTE: THIS WILL CLEAR ALL THE COUNTRY BLOCKS
Implementation
void fromJson(String json) {
blocked.clear();
blocked.addAll(jsonDecode(json) as Iterable<String>);
}
Loads the country block list from a JSON string NOTE: THIS WILL CLEAR ALL THE COUNTRY BLOCKS
void fromJson(String json) {
blocked.clear();
blocked.addAll(jsonDecode(json) as Iterable<String>);
}