Useful or not, from you.
flutter type 'List<dynamic>' is not a subtype of type 'List<String>'
Restarted app in 2,687ms.
I/ViewRootImpl(20672): ViewRoot's Touch Event : ACTION_DOWN
I/flutter (20672): _MyAppState.activateSpeechRecognizer... 
I/ViewRootImpl(20672): ViewRoot's Touch Event : ACTION_UP
D/SpeechRecognitionPlugin(20672): Current Locale : en_GB
I/flutter (20672): _platformCallHandler call speech.onCurrentLocale en_GB
I/ViewRootImpl(20672): ViewRoot's Touch Event : ACTION_DOWN
I/ViewRootImpl(20672): ViewRoot's Touch Event : ACTION_UP
I/ViewRootImpl(20672): ViewRoot's Touch Event : ACTION_DOWN
I/ViewRootImpl(20672): ViewRoot's Touch Event : ACTION_UP
I/flutter (20672): Dislike
I/flutter (20672): ══╡ EXCEPTION CAUGHT BY GESTURE ╞═══════════════════════════════════════════════════════════════════
I/flutter (20672): The following assertion was thrown while handling a gesture:
I/flutter (20672): type 'List<dynamic>' is not a subtype of type 'List<String>'
I/flutter (20672): Either the assertion indicates an error in the framework itself, or we should provide substantially
I/flutter (20672): more information in this error message to help you determine and fix the underlying cause.
I/flutter (20672): In either case, please report this assertion by filing a bug on GitHub:
I/flutter (20672):   https://github.com/flutter/flutter/issues/new
I/flutter (20672): When the exception was thrown, this was the stack:
I/flutter (20672): #0      _ChatListTileItemState.build.<anonymous closure> (file:///Users/sahil/IdeaProjects/gabhub_anonym_text/lib/live_chat_tab_base.dart:429:85)
I/flutter (20672): #1      GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:102:24)
I/flutter (20672): #2      TapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:161:9)
I/flutter (20672): #3      TapGestureRecognizer.acceptGesture (package:flutter/src/gestures/tap.dart:123:7)
I/flutter (20672): #4      GestureArenaManager.sweep (package:flutter/src/gestures/arena.dart:156:27)
I/flutter (20672): #5      _WidgetsFlutterBinding&BindingBase&GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:147:20)
I/flutter (20672): #6      _WidgetsFlutterBinding&BindingBase&GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:121:22)
I/flutter (20672): #7      _WidgetsFlutterBinding&BindingBase&GestureBinding._handlePointerEvent (package:flutter/src/gestures/binding.dart:101:7)
I/flutter (20672): #8      _WidgetsFlutterBinding&BindingBase&GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:64:7)
I/flutter (20672): #9      _WidgetsFlutterBinding&BindingBase&GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:48:7)
I/flutter (20672): #10     _invoke1 (dart:ui/hooks.dart:134:13)
I/flutter (20672): #11     _dispatchPointerDataPacket (dart:ui/hooks.dart:91:5)
I/flutter (20672): Handler: onTap
I/flutter (20672): Recognizer:
I/flutter (20672):   TapGestureRecognizer#cf6d7(debugOwner: GestureDetector, state: ready, won arena, finalPosition:
I/flutter (20672):   Offset(125.9, 380.8), sent tap down)
I/flutter (20672): ════════════════════════════════════════════════════════════════════════════════════════════════════
I/ViewRootImpl(20672): ViewRoot's Touch Event : ACTION_DOWN
I/ViewRootImpl(20672): ViewRoot's Touch Event : ACTION_UP
That's a useful answer
Without any help

My model class is like this

`import 'dart:convert';

List<ServiceLogsModel> serviceLogsModelFromJson(String str) => new List<ServiceLogsModel>.from(json.decode(str).map((x) => ServiceLogsModel.fromJson(x)));

String serviceLogsModelToJson(List<ServiceLogsModel> data) => json.encode(new List<dynamic>.from(data.map((x) => x.toJson())));

class ServiceLogsModel { String vitCasenumber; String title; DateTime createdon; DateTime modifiedon; String statuscodeODataCommunityDisplayV1FormattedValue; int statecode; String incidentid; bool vitIsfilemandatory; String customeridContact; String vitFilesuploadedtosharepoint; String vitJsondata; int vitTypeofform; bool vitReadstatus;

ServiceLogsModel({ this.vitCasenumber, this.title, this.createdon, this.modifiedon, this.statuscodeODataCommunityDisplayV1FormattedValue, this.statecode, this.incidentid, this.vitIsfilemandatory, this.customeridContact, this.vitFilesuploadedtosharepoint, this.vitJsondata, this.vitTypeofform, this.vitReadstatus, });

factory ServiceLogsModel.fromJson(Map<String, dynamic> json) => new ServiceLogsModel( vitCasenumber: json["vit_casenumber"], title: json["title"], createdon: DateTime.parse(json["createdon"]), modifiedon: DateTime.parse(json["modifiedon"]), statuscodeODataCommunityDisplayV1FormattedValue: json["statuscode@OData.Community.Display.V1.FormattedValue"], statecode: json["statecode"], incidentid: json["incidentid"], vitIsfilemandatory: json["vit_isfilemandatory"], customeridContact: json["customerid_contact"], vitFilesuploadedtosharepoint: json["vit_filesuploadedtosharepoint"], vitJsondata: json["vit_jsondata"], vitTypeofform: json["vit_typeofform"], vitReadstatus: json["vit_readstatus"], );

Map<String, dynamic> toJson() => { "vit_casenumber": vitCasenumber, "title": title, "createdon": createdon.toIso8601String(), "modifiedon": modifiedon.toIso8601String(), "statuscode@OData.Community.Display.V1.FormattedValue": statuscodeODataCommunityDisplayV1FormattedValue, "statecode": statecode, "incidentid": incidentid, "vit_isfilemandatory": vitIsfilemandatory, "customerid_contact": customeridContact, "vit_filesuploadedtosharepoint": vitFilesuploadedtosharepoint, "vit_jsondata": vitJsondata, "vit_typeofform": vitTypeofform, "vit_readstatus": vitReadstatus, }; } `

I am getting the response like this

[ { "vit_casenumber": "CM1902849", "title": "Request For Reference Letter", "createdon": "2019-06-27T04:43:44Z", "modifiedon": "2019-06-27T04:54:03Z", "statuscode@OData.Community.Display.V1.FormattedValue": "New", "statecode": 0, "incidentid": "e7d38720-9698-e911-a855-000d3ae0a7f8", "vit_isfilemandatory": false, "customerid_contact": null, "vit_filesuploadedtosharepoint": null, "vit_jsondata": null, "vit_typeofform": 2, "vit_readstatus": true }, { "vit_casenumber": "CM1902848", "title": "Request For Reference Letter", "createdon": "2019-06-26T12:53:13Z", "modifiedon": "2019-06-26T12:53:17Z", "statuscode@OData.Community.Display.V1.FormattedValue": "New", "statecode": 0, "incidentid": "681bb658-1198-e911-a852-000d3ae0b82e", "vit_isfilemandatory": false, "customerid_contact": null, "vit_filesuploadedtosharepoint": null, "vit_jsondata": null, "vit_typeofform": 2, "vit_readstatus": false } ]

when I am executing this line

json.decode(response.body);

I am getting this error

Unhandled Exception: type 'List<dynamic>' is not a subtype of type 'String'

Please help me to sort out the problem