我对Flutter比较陌生。我想从API中获取类别和产品信息。我对类别没有问题,但在获取产品时,我收到错误消息"Unhandled Exception: type '_InternalLinkedHashMap ‘is not a subtype of type'Iterable '“。我看到了许多这个错误的例子,但我无法将其与我自己联系起来。categoryId=$categoryId")); <
应用编程接口调用由按钮按下触发,该按钮调用AnchoredMapMarkers,该API应在预加载的地图上显示经纬针 在async之后返回print('step5.1_APICALL'); okay错误显示为type 'Future<Stations>' is not a subtype of type 'Iterable<dynamic>' 非常感谢您的任何帮助。API调用并以列表形式显示很好-我现在正在尝试从Json中