Search code examples
jsonfluttermodelmapping

How to make model for heavy api response json flutter


I am actually facing a problem trying to make a model for a json api response. The response is really big and I have not found a way of making only a model for a part of it.

JSON scheme of api response : https://easyupload.io/0bo5gn

I tried converter like https://app.quicktype.io/. But none worked properly for a response of this size.

EDIT : How can I make a model and methods to get the whole refID list from the api response ? here is my model : https://easyupload.io/jxca3o


Solution

  • Use this json to dart converter

    enter image description here