Home > OS >  type 'Null' is not a subtype of type 'List<String>' in type cast
type 'Null' is not a subtype of type 'List<String>' in type cast

Time:04-30

enter image description here type 'Null' is not a subtype of type 'List' in type cast

CodePudding user response:

The data that your getting in questions[_questionIndex]['answers'] might be null.

CodePudding user response:

Refer to this repository you will get your answer surely : https://github.com/MeetSolguruz/Udemy_Quiz

  • Related