The following is the code:
static TodoState fromJson(json) { JsonCodec codec = new JsonCodec(); List data = codec.decod
I don't know if that's the case, but I got a similar error when me JSON looks like this
[ { ... }, ]
and not like this
[ { ... } ]
The comma was causing the issue.