model/other/CountryListResponseModel
library
Functions
-
countryListResponseModelFromJson(String str)
→ CountryListResponseModel
-
data :
{"id":"1","name":"Afghanistan","flag":"https://flagcdn.com/w40/.webp","phonecode":"93"},{"id":"2","name":"Albania","flag":"https://flagcdn.com/w40/.webp","phonecode":"355"},{"id":"3","name":"Algeria","flag":"https://flagcdn.com/w40/.webp","phonecode":"213"},{"id":"4","name":"American Samoa","flag":"https://flagcdn.com/w40/.webp","phonecode":"1684"},{"id":"5","name":"Andorra","flag":"https://flagcdn.com/w40/.webp","phonecode":"376"},{"id":"6","name":"Angola","flag":"https://flagcdn.com/w40/.webp","phonecode":"244"},{"id":"7","name":"Anguilla","flag":"https://flagcdn.com/w40/.webp","phonecode":"1264"},{"id":"8","name":"Antarctica","flag":"https://flagcdn.com/w40/.webp","phonecode":"672"},{"id":"9","name":"Antigua And Barbuda","flag":"https://flagcdn.com/w40/.webp","phonecode":"1268"},{"id":"10","name":"Argentina","flag":"https://flagcdn.com/w40/.webp","phonecode":"54"},{"id":"11","name":"Armenia","flag":"https://flagcdn.com/w40/.webp","phonecode":"374"},{"id":"12","name":"Aruba","flag":"https://flagcdn.com/w40/.webp","phonecode":"297"},{"id":"13","name":"Australia","flag":"https://flagcdn.com/w40/.webp","phonecode":"61"},{"id":"14","name":"Austria","flag":"https://flagcdn.com/w40/.webp","phonecode":"43"},{"id":"15","name":"Azerbaijan","flag":"https://flagcdn.com/w40/.webp","phonecode":"994"},{"id":"16","name":"Bahamas The","flag":"https://flagcdn.com/w40/.webp","phonecode":"1242"},{"id":"17","name":"Bahrain","flag":"https://flagcdn.com/w40/.webp","phonecode":"973"},{"id":"18","name":"Bangladesh","flag":"https://flagcdn.com/w40/.webp","phonecode":"880"},{"id":"19","name":"Barbados","flag":"https://flagcdn.com/w40/.webp","phonecode":"1246"},{"id":"20","name":"Belarus","flag":"https://flagcdn.com/w40/.webp","phonecode":"375"}
success : 1
total_records : 246
message : "Records found."
-
countryListResponseModelToJson(CountryListResponseModel data)
→ String
-
-
dataFromJson(String str)
→ Countrylist
-
id : "1"
name : "Afghanistan"
flag : "https://flagcdn.com/w40/.webp"
phonecode : "93"
-
dataToJson(Countrylist data)
→ String
-