skip to Main Content

Unhandled Exception: type '_InternalLinkedHashMap<String, dynamic>' is not a subtype of type 'List<dynamic>' Flutter dart

Am getting this error in flutter, dart. '_InternalLinkedHashMap<String, dynamic>' is not a subtype of type 'List' The Model used is, import 'dart:convert'; Areas areasFromJson(String str) => Areas.fromJson(json.decode(str)); String areasToJson(Areas data) => json.encode(data.toJson()); class Areas { bool success; Data data; String…

VIEW QUESTION
Back To Top
Search