Flutter Error:Class has no instance getter ‘length’

3Aug - by rakeshdev - 0 - In flutter Uncategorized

Today,I am trying to create a list with items loaded from a remote server on a screen, but i did not define in modal

my code is

and mu modal code is

since i did not define country so error appears

now i will define country in modal

now, my code is running perfectly

Facebook Comments