Flutter: Automate Json to Dart Entity Class
Dart JSON Serialisation
2 min readMar 31, 2020
For any API based App, Converting JSON a solid class(es) is a repeating and lengthy task. Here we are going to discuss How can we automate this to decrease our development time and effort.
All the cases We going to use the following JSON as Base case:
{
"employee": {
"name": "Jhon",
"salary": 56000,
"married": false
}
}