When it comes to JSON encoding in Dart, per Seth Ladd\'s accouncement the finally approved now official way to go is dart:convert
+ JSON.Encode
. >
I prefer using https://ashamp.github.io/jsonToDartModel/ online tool write by myself.
It has features below:
I think it's better than other tools.Welcome if you have any suggestion, issue or bug report.