dart - type 'List<dynamic>' is not a subtype of type 'List<Widget>'

dart - type 'List<dynamic>' is not a subtype of type 'List<Widget>'

I have a snippet of code which I copied from Firestore example: Widget_buildBody(BuildContext context){return new StreamBuilder( stream:_getEventStream(), builder:(context, snapsh…




typeerror type subtype string not mappedlistiterable map list json instance