I am trying to decode a list of integers, e.g. "[1,2,3,4]", like this
decodeJson(json, new List<int>().runtimeType)
but I am getting this error
MapperException: UnsupportedType: List<int>. This type wasn't mapped by redstone_mapper's
transformer. See http://goo.gl/YYMou2 for more information.
Here is my pubspec.yaml
name: restonetest
description: A sample web application
dependencies:
angular: any
appengine: any
browser: any
di: any
fp: any
redstone: any
redstone_mapper: any
shelf_static: any
transformers:
- redstone_mapper
- angular:
html_files:
- lib/client/models/evento/evento.html
What should I do?
Edit
The actual problem appears to be with redstone_mapper
transformer. If I take it out from the pubspec.yaml
then it works.