title: Flutter How to display JSON response on Listview
body: <p>I want to display JSON data on Listview when I do button click, I can print valid JSON data on console so I want a way to show it on a listview, I am still a beginner in Flutter, your help will be appreaciated.</p>
  <p>My model class</p>
  <pre><code>class Vehicle {
    int? id;
    int? sourceId;
    int? serviceId;
    int? categoryId;
    String? category;
    String? description;
    dynamic value;
    int? serviceResponsePropertyId;
    int? mappingId;
    bool? isVisible;
    int? packageRequestId;
    int? sortOrder;
  
    Vehicle(
        {required this.id,
        required this.sourceId,
        required this.serviceId,
        required this.categoryId,
        required this.category,
        required this.description,
        required this.value,
        required this.serviceResponsePropertyId,
        required this.mappingId,
        required this.isVisible,
        required this.packageRequestId,
        required this.sortOrder});
  
    Vehicle.fromJson(Map&lt;String, dynamic&gt; json) {
      id = json['Id'];
      sourceId = json['SourceId'];
      serviceId = json['ServiceId'];
      categoryId = json['CategoryId'];
      category = json['Category'];
      description = json['Description'];
      value = json['Value'];
      serviceResponsePropertyId = json['ServiceResponsePropertyId'];
      mappingId = json['MappingId'];
      isVisible = json['IsVisible'];
      packageRequestId = json['PackageRequestId'];
      sortOrder = json['SortOrder'];
    }
  
    Map&lt;String, dynamic&gt; toJson() {
      final Map&lt;String, dynamic&gt; data = {};
      data['Id'] = id;
      data['SourceId'] = sourceId;
      data['ServiceId'] = serviceId;
      data['CategoryId'] = categoryId;
      data['Category'] = category;
      data['Description'] = description;
      data['Value'] = value;
      data['ServiceResponsePropertyId'] = serviceResponsePropertyId;
      data['MappingId'] = mappingId;
      data['IsVisible'] = isVisible;
      data['PackageRequestId'] = packageRequestId;
      data['SortOrder'] = sortOrder;
      return data;
    }
  }
  </code></pre>
  <p>JSON response</p>
  <pre><code>[
      {
          &quot;Id&quot;: 0,
          &quot;SourceId&quot;: 0,
          &quot;ServiceId&quot;: 11,
          &quot;CategoryId&quot;: 5,
          &quot;Category&quot;: &quot;Valuation&quot;,
          &quot;Description&quot;: &quot;AdjustedValues&quot;,
          &quot;Value&quot;: [],
          &quot;ServiceResponsePropertyId&quot;: 474,
          &quot;MappingId&quot;: 0,
          &quot;IsVisible&quot;: true,
          &quot;PackageRequestId&quot;: 13870410,
          &quot;SortOrder&quot;: 1
      },
      {
          &quot;Id&quot;: 0,
          &quot;SourceId&quot;: 0,
          &quot;ServiceId&quot;: 11,
          &quot;CategoryId&quot;: 1,
          &quot;Category&quot;: &quot;General&quot;,
          &quot;Description&quot;: &quot;ServiceStatus&quot;,
          &quot;Value&quot;: {
              &quot;StatusCode&quot;: 1,
              &quot;StatusDescription&quot;: &quot;Ok&quot;,
              &quot;StatusDetail&quot;: &quot;&quot;,
              &quot;RestServiceStatus&quot;: null,
              &quot;ServiceResource&quot;: null
          },
          &quot;ServiceResponsePropertyId&quot;: 475,
          &quot;MappingId&quot;: 0,
          &quot;IsVisible&quot;: false,
          &quot;PackageRequestId&quot;: 13870410,
          &quot;SortOrder&quot;: 1
      },
      {
          &quot;Id&quot;: 0,
          &quot;SourceId&quot;: 0,
          &quot;ServiceId&quot;: 6,
          &quot;CategoryId&quot;: 1,
          &quot;Category&quot;: &quot;General&quot;,
          &quot;Description&quot;: &quot;CarId&quot;,
          &quot;Value&quot;: 120354,
          &quot;ServiceResponsePropertyId&quot;: 100,
          &quot;MappingId&quot;: 0,
          &quot;IsVisible&quot;: false,
          &quot;PackageRequestId&quot;: 13870410,
          &quot;SortOrder&quot;: 1
      },
      {
          &quot;Id&quot;: 0,
          &quot;SourceId&quot;: 0,
          &quot;ServiceId&quot;: 6,
          &quot;CategoryId&quot;: 1,
          &quot;Category&quot;: &quot;General&quot;,
          &quot;Description&quot;: &quot;Year&quot;,
          &quot;Value&quot;: 2017,
          &quot;ServiceResponsePropertyId&quot;: 103,
          &quot;MappingId&quot;: 0,
          &quot;IsVisible&quot;: true,
          &quot;PackageRequestId&quot;: 13870410,
          &quot;SortOrder&quot;: 6
      },
      {
          &quot;Id&quot;: 0,
          &quot;SourceId&quot;: 0,
          &quot;ServiceId&quot;: 6,
          &quot;CategoryId&quot;: 1,
          &quot;Category&quot;: &quot;General&quot;,
          &quot;Description&quot;: &quot;Full Model Description&quot;,
          &quot;Value&quot;: &quot;2017 AUDI A3 Sedan 1.0T FSI S tronic [2016-2017]&quot;,
          &quot;ServiceResponsePropertyId&quot;: 104,
          &quot;MappingId&quot;: 0,
          &quot;IsVisible&quot;: false,
          &quot;PackageRequestId&quot;: 13870410,
          &quot;SortOrder&quot;: 1
      },
      {
          &quot;Id&quot;: 0,
          &quot;SourceId&quot;: 0,
          &quot;ServiceId&quot;: 6,
          &quot;CategoryId&quot;: 1,
          &quot;Category&quot;: &quot;General&quot;,
          &quot;Description&quot;: &quot;Model&quot;,
          &quot;Value&quot;: &quot;A3 Sedan 1.0T FSI S tronic [2016-2017]&quot;,
          &quot;ServiceResponsePropertyId&quot;: 105,
          &quot;MappingId&quot;: 0,
          &quot;IsVisible&quot;: true,
          &quot;PackageRequestId&quot;: 13870410,
          &quot;SortOrder&quot;: 5
      },
      {
          &quot;Id&quot;: 0,
          &quot;SourceId&quot;: 0,
          &quot;ServiceId&quot;: 6,
          &quot;CategoryId&quot;: 1,
          &quot;Category&quot;: &quot;General&quot;,
          &quot;Description&quot;: &quot;ImageUrl&quot;,
          &quot;Value&quot;: &quot;https://cdn.lightstoneauto.co.za/PHOTOS/AUDI/120354_1_Z7.jpg&quot;,
          &quot;ServiceResponsePropertyId&quot;: 107,
          &quot;MappingId&quot;: 0,
          &quot;IsVisible&quot;: false,
          &quot;PackageRequestId&quot;: 13870410,
          &quot;SortOrder&quot;: 1
      },
      {
          &quot;Id&quot;: 0,
          &quot;SourceId&quot;: 0,
          &quot;ServiceId&quot;: 6,
          &quot;CategoryId&quot;: 1,
          &quot;Category&quot;: &quot;General&quot;,
          &quot;Description&quot;: &quot;Make&quot;,
          &quot;Value&quot;: &quot;AUDI&quot;,
          &quot;ServiceResponsePropertyId&quot;: 110,
          &quot;MappingId&quot;: 0,
          &quot;IsVisible&quot;: true,
          &quot;PackageRequestId&quot;: 13870410,
          &quot;SortOrder&quot;: 3
      },
      {
          &quot;Id&quot;: 0,
          &quot;SourceId&quot;: 0,
          &quot;ServiceId&quot;: 6,
          &quot;CategoryId&quot;: 1,
          &quot;Category&quot;: &quot;General&quot;,
          &quot;Description&quot;: &quot;Type&quot;,
          &quot;Value&quot;: &quot;AUDI A3 Sedan&quot;,
          &quot;ServiceResponsePropertyId&quot;: 111,
          &quot;MappingId&quot;: 0,
          &quot;IsVisible&quot;: true,
          &quot;PackageRequestId&quot;: 13870410,
          &quot;SortOrder&quot;: 4
      },
      {
          &quot;Id&quot;: 0,
          &quot;SourceId&quot;: 0,
          &quot;ServiceId&quot;: 6,
          &quot;CategoryId&quot;: 1,
          &quot;Category&quot;: &quot;General&quot;,
          &quot;Description&quot;: &quot;ServiceStatus&quot;,
          &quot;Value&quot;: {
              &quot;StatusCode&quot;: 1,
              &quot;StatusDescription&quot;: &quot;Ok&quot;,
              &quot;StatusDetail&quot;: &quot;&quot;,
              &quot;RestServiceStatus&quot;: null,
              &quot;ServiceResource&quot;: null
          },
          &quot;ServiceResponsePropertyId&quot;: 125,
          &quot;MappingId&quot;: 0,
          &quot;IsVisible&quot;: false,
          &quot;PackageRequestId&quot;: 13870410,
          &quot;SortOrder&quot;: 1
      },
      {
          &quot;Id&quot;: 0,
          &quot;SourceId&quot;: 0,
          &quot;ServiceId&quot;: 7,
          &quot;CategoryId&quot;: 1,
          &quot;Category&quot;: &quot;General&quot;,
          &quot;Description&quot;: &quot;ServiceStatus&quot;,
          &quot;Value&quot;: {
              &quot;StatusCode&quot;: 1,
              &quot;StatusDescription&quot;: &quot;Ok&quot;,
              &quot;StatusDetail&quot;: &quot;&quot;,
              &quot;RestServiceStatus&quot;: null,
              &quot;ServiceResource&quot;: null
          },
          &quot;ServiceResponsePropertyId&quot;: 126,
          &quot;MappingId&quot;: 0,
          &quot;IsVisible&quot;: false,
          &quot;PackageRequestId&quot;: 13870410,
          &quot;SortOrder&quot;: 9999
      },
      {
          &quot;CarId&quot;: 0,
          &quot;SpecCategory&quot;: &quot;General&quot;,
          &quot;Id&quot;: -1,
          &quot;SourceId&quot;: -1,
          &quot;ServiceId&quot;: 7,
          &quot;CategoryId&quot;: 1,
          &quot;Category&quot;: &quot;General&quot;,
          &quot;Description&quot;: &quot;Body shape&quot;,
          &quot;Value&quot;: &quot;Sedan&quot;,
          &quot;ServiceResponsePropertyId&quot;: 320,
          &quot;MappingId&quot;: 0,
          &quot;IsVisible&quot;: true,
          &quot;PackageRequestId&quot;: 13870410,
          &quot;SortOrder&quot;: 9999
      },
      {
          &quot;CarId&quot;: 0,
          &quot;SpecCategory&quot;: &quot;General&quot;,
          &quot;Id&quot;: -6,
          &quot;SourceId&quot;: -6,
          &quot;ServiceId&quot;: 7,
          &quot;CategoryId&quot;: 1,
          &quot;Category&quot;: &quot;General&quot;,
          &quot;Description&quot;: &quot;Drive type&quot;,
          &quot;Value&quot;: &quot;4x2&quot;,
          &quot;ServiceResponsePropertyId&quot;: 154,
          &quot;MappingId&quot;: 0,
          &quot;IsVisible&quot;: true,
          &quot;PackageRequestId&quot;: 13870410,
          &quot;SortOrder&quot;: 9999
      },
      {
          &quot;CarId&quot;: 0,
          &quot;SpecCategory&quot;: &quot;General&quot;,
          &quot;Id&quot;: -7,
          &quot;SourceId&quot;: -7,
          &quot;ServiceId&quot;: 7,
          &quot;CategoryId&quot;: 1,
          &quot;Category&quot;: &quot;General&quot;,
          &quot;Description&quot;: &quot;Fuel type&quot;,
          &quot;Value&quot;: &quot;Petrol&quot;,
          &quot;ServiceResponsePropertyId&quot;: 153,
          &quot;MappingId&quot;: 0,
          &quot;IsVisible&quot;: true,
          &quot;PackageRequestId&quot;: 13870410,
          &quot;SortOrder&quot;: 9999
      },
      {
          &quot;Id&quot;: 0,
          &quot;SourceId&quot;: 0,
          &quot;ServiceId&quot;: 12,
          &quot;CategoryId&quot;: 5,
          &quot;Category&quot;: &quot;Valuation&quot;,
          &quot;Description&quot;: &quot;LastFiveSales&quot;,
          &quot;Value&quot;: [
              {
                  &quot;SaleId&quot;: 701436,
                  &quot;CarId&quot;: 120354,
                  &quot;SaleYear&quot;: 2017,
                  &quot;SaleDateTime&quot;: &quot;2022-06-24T14:09:04Z&quot;,
                  &quot;SalePrice&quot;: 289900.0,
                  &quot;MunicipalityName&quot;: &quot;CITY OF TSHWANE&quot;,
                  &quot;Id&quot;: 0,
                  &quot;SourceId&quot;: 0,
                  &quot;ServiceId&quot;: 0,
                  &quot;CategoryId&quot;: 0,
                  &quot;Category&quot;: null,
                  &quot;Description&quot;: null,
                  &quot;Value&quot;: null,
                  &quot;ServiceResponsePropertyId&quot;: 0,
                  &quot;MappingId&quot;: 1,
                  &quot;IsVisible&quot;: false,
                  &quot;PackageRequestId&quot;: 0,
                  &quot;SortOrder&quot;: 0
              },
              {
                  &quot;SaleId&quot;: 698229,
                  &quot;CarId&quot;: 120354,
                  &quot;SaleYear&quot;: 2017,
                  &quot;SaleDateTime&quot;: &quot;2022-06-09T15:30:38Z&quot;,
                  &quot;SalePrice&quot;: 299900.0,
                  &quot;MunicipalityName&quot;: &quot;CITY OF TSHWANE&quot;,
                  &quot;Id&quot;: 0,
                  &quot;SourceId&quot;: 0,
                  &quot;ServiceId&quot;: 0,
                  &quot;CategoryId&quot;: 0,
                  &quot;Category&quot;: null,
                  &quot;Description&quot;: null,
                  &quot;Value&quot;: null,
                  &quot;ServiceResponsePropertyId&quot;: 0,
                  &quot;MappingId&quot;: 1,
                  &quot;IsVisible&quot;: false,
                  &quot;PackageRequestId&quot;: 0,
                  &quot;SortOrder&quot;: 0
              },
              {
                  &quot;SaleId&quot;: 695530,
                  &quot;CarId&quot;: 120354,
                  &quot;SaleYear&quot;: 2017,
                  &quot;SaleDateTime&quot;: &quot;2022-05-30T13:24:17Z&quot;,
                  &quot;SalePrice&quot;: 289995.0,
                  &quot;MunicipalityName&quot;: &quot;CITY OF TSHWANE&quot;,
                  &quot;Id&quot;: 0,
                  &quot;SourceId&quot;: 0,
                  &quot;ServiceId&quot;: 0,
                  &quot;CategoryId&quot;: 0,
                  &quot;Category&quot;: null,
                  &quot;Description&quot;: null,
                  &quot;Value&quot;: null,
                  &quot;ServiceResponsePropertyId&quot;: 0,
                  &quot;MappingId&quot;: 1,
                  &quot;IsVisible&quot;: false,
                  &quot;PackageRequestId&quot;: 0,
                  &quot;SortOrder&quot;: 0
              },
              {
                  &quot;SaleId&quot;: 685020,
                  &quot;CarId&quot;: 120354,
                  &quot;SaleYear&quot;: 2017,
                  &quot;SaleDateTime&quot;: &quot;2022-04-14T12:27:37Z&quot;,
                  &quot;SalePrice&quot;: 366948.0,
                  &quot;MunicipalityName&quot;: &quot;EMFULENI&quot;,
                  &quot;Id&quot;: 0,
                  &quot;SourceId&quot;: 0,
                  &quot;ServiceId&quot;: 0,
                  &quot;CategoryId&quot;: 0,
                  &quot;Category&quot;: null,
                  &quot;Description&quot;: null,
                  &quot;Value&quot;: null,
                  &quot;ServiceResponsePropertyId&quot;: 0,
                  &quot;MappingId&quot;: 1,
                  &quot;IsVisible&quot;: false,
                  &quot;PackageRequestId&quot;: 0,
                  &quot;SortOrder&quot;: 0
              },
              {
                  &quot;SaleId&quot;: 683843,
                  &quot;CarId&quot;: 120354,
                  &quot;SaleYear&quot;: 2017,
                  &quot;SaleDateTime&quot;: &quot;2022-04-11T15:00:38Z&quot;,
                  &quot;SalePrice&quot;: 315500.0,
                  &quot;MunicipalityName&quot;: &quot;UMHLATHUZE&quot;,
                  &quot;Id&quot;: 0,
                  &quot;SourceId&quot;: 0,
                  &quot;ServiceId&quot;: 0,
                  &quot;CategoryId&quot;: 0,
                  &quot;Category&quot;: null,
                  &quot;Description&quot;: null,
                  &quot;Value&quot;: null,
                  &quot;ServiceResponsePropertyId&quot;: 0,
                  &quot;MappingId&quot;: 1,
                  &quot;IsVisible&quot;: false,
                  &quot;PackageRequestId&quot;: 0,
                  &quot;SortOrder&quot;: 0
              }
          ],
          &quot;ServiceResponsePropertyId&quot;: 481,
          &quot;MappingId&quot;: 0,
          &quot;IsVisible&quot;: true,
          &quot;PackageRequestId&quot;: 13870410,
          &quot;SortOrder&quot;: 0
      },
      {
          &quot;Id&quot;: 0,
          &quot;SourceId&quot;: 0,
          &quot;ServiceId&quot;: 12,
          &quot;CategoryId&quot;: 5,
          &quot;Category&quot;: &quot;Valuation&quot;,
          &quot;Description&quot;: &quot;ServiceStatus&quot;,
          &quot;Value&quot;: {
              &quot;StatusCode&quot;: 1,
              &quot;StatusDescription&quot;: &quot;Ok&quot;,
              &quot;StatusDetail&quot;: &quot;&quot;,
              &quot;RestServiceStatus&quot;: null,
              &quot;ServiceResource&quot;: null
          },
          &quot;ServiceResponsePropertyId&quot;: 482,
          &quot;MappingId&quot;: 0,
          &quot;IsVisible&quot;: false,
          &quot;PackageRequestId&quot;: 13870410,
          &quot;SortOrder&quot;: 0
      },
      {
          &quot;EstimateType&quot;: &quot;Auction&quot;,
          &quot;CarId&quot;: 0,
          &quot;Id&quot;: 1,
          &quot;SourceId&quot;: 1,
          &quot;ServiceId&quot;: 12,
          &quot;CategoryId&quot;: 5,
          &quot;Category&quot;: &quot;Valuation&quot;,
          &quot;Description&quot;: &quot;Auction Estimate&quot;,
          &quot;Value&quot;: 189400.0,
          &quot;ServiceResponsePropertyId&quot;: 494,
          &quot;MappingId&quot;: 0,
          &quot;IsVisible&quot;: true,
          &quot;PackageRequestId&quot;: 13870410,
          &quot;SortOrder&quot;: 1
      },
      {
          &quot;EstimateType&quot;: &quot;Cost&quot;,
          &quot;CarId&quot;: 0,
          &quot;Id&quot;: 2,
          &quot;SourceId&quot;: 2,
          &quot;ServiceId&quot;: 12,
          &quot;CategoryId&quot;: 5,
          &quot;Category&quot;: &quot;Valuation&quot;,
          &quot;Description&quot;: &quot;Cost Estimate&quot;,
          &quot;Value&quot;: 238300.0,
          &quot;ServiceResponsePropertyId&quot;: 495,
          &quot;MappingId&quot;: 0,
          &quot;IsVisible&quot;: true,
          &quot;PackageRequestId&quot;: 13870410,
          &quot;SortOrder&quot;: 1
      },
      {
          &quot;EstimateType&quot;: &quot;Cost&quot;,
          &quot;CarId&quot;: 0,
          &quot;Id&quot;: 3,
          &quot;SourceId&quot;: 3,
          &quot;ServiceId&quot;: 12,
          &quot;CategoryId&quot;: 5,
          &quot;Category&quot;: &quot;Valuation&quot;,
          &quot;Description&quot;: &quot;Cost Estimate High&quot;,
          &quot;Value&quot;: 259800.0,
          &quot;ServiceResponsePropertyId&quot;: 496,
          &quot;MappingId&quot;: 0,
          &quot;IsVisible&quot;: true,
          &quot;PackageRequestId&quot;: 13870410,
          &quot;SortOrder&quot;: 3
      },
      {
          &quot;EstimateType&quot;: &quot;Cost&quot;,
          &quot;CarId&quot;: 0,
          &quot;Id&quot;: 4,
          &quot;SourceId&quot;: 4,
          &quot;ServiceId&quot;: 12,
          &quot;CategoryId&quot;: 5,
          &quot;Category&quot;: &quot;Valuation&quot;,
          &quot;Description&quot;: &quot;Cost Estimate Low&quot;,
          &quot;Value&quot;: 218700.0,
          &quot;ServiceResponsePropertyId&quot;: 497,
          &quot;MappingId&quot;: 0,
          &quot;IsVisible&quot;: true,
          &quot;PackageRequestId&quot;: 13870410,
          &quot;SortOrder&quot;: 2
      },
      {
          &quot;EstimateType&quot;: &quot;Retail&quot;,
          &quot;CarId&quot;: 0,
          &quot;Id&quot;: 5,
          &quot;SourceId&quot;: 5,
          &quot;ServiceId&quot;: 12,
          &quot;CategoryId&quot;: 5,
          &quot;Category&quot;: &quot;Valuation&quot;,
          &quot;Description&quot;: &quot;Retail Estimate&quot;,
          &quot;Value&quot;: 300800.0,
          &quot;ServiceResponsePropertyId&quot;: 498,
          &quot;MappingId&quot;: 0,
          &quot;IsVisible&quot;: true,
          &quot;PackageRequestId&quot;: 13870410,
          &quot;SortOrder&quot;: 1
      },
      {
          &quot;EstimateType&quot;: &quot;Retail&quot;,
          &quot;CarId&quot;: 0,
          &quot;Id&quot;: 6,
          &quot;SourceId&quot;: 6,
          &quot;ServiceId&quot;: 12,
          &quot;CategoryId&quot;: 5,
          &quot;Category&quot;: &quot;Valuation&quot;,
          &quot;Description&quot;: &quot;Retail Estimate High&quot;,
          &quot;Value&quot;: 327900.0,
          &quot;ServiceResponsePropertyId&quot;: 499,
          &quot;MappingId&quot;: 0,
          &quot;IsVisible&quot;: true,
          &quot;PackageRequestId&quot;: 13870410,
          &quot;SortOrder&quot;: 3
      },
      {
          &quot;EstimateType&quot;: &quot;Retail&quot;,
          &quot;CarId&quot;: 0,
          &quot;Id&quot;: 7,
          &quot;SourceId&quot;: 7,
          &quot;ServiceId&quot;: 12,
          &quot;CategoryId&quot;: 5,
          &quot;Category&quot;: &quot;Valuation&quot;,
          &quot;Description&quot;: &quot;Retail Estimate Low&quot;,
          &quot;Value&quot;: 276000.0,
          &quot;ServiceResponsePropertyId&quot;: 500,
          &quot;MappingId&quot;: 0,
          &quot;IsVisible&quot;: true,
          &quot;PackageRequestId&quot;: 13870410,
          &quot;SortOrder&quot;: 2
      },
      {
          &quot;EstimateType&quot;: &quot;Trade&quot;,
          &quot;CarId&quot;: 0,
          &quot;Id&quot;: 8,
          &quot;SourceId&quot;: 8,
          &quot;ServiceId&quot;: 12,
          &quot;CategoryId&quot;: 5,
          &quot;Category&quot;: &quot;Valuation&quot;,
          &quot;Description&quot;: &quot;Trade Estimate&quot;,
          &quot;Value&quot;: 261300.0,
          &quot;ServiceResponsePropertyId&quot;: 501,
          &quot;MappingId&quot;: 0,
          &quot;IsVisible&quot;: true,
          &quot;PackageRequestId&quot;: 13870410,
          &quot;SortOrder&quot;: 1
      },
      {
          &quot;EstimateType&quot;: &quot;Trade&quot;,
          &quot;CarId&quot;: 0,
          &quot;Id&quot;: 9,
          &quot;SourceId&quot;: 9,
          &quot;ServiceId&quot;: 12,
          &quot;CategoryId&quot;: 5,
          &quot;Category&quot;: &quot;Valuation&quot;,
          &quot;Description&quot;: &quot;Trade Estimate High&quot;,
          &quot;Value&quot;: 284900.0,
          &quot;ServiceResponsePropertyId&quot;: 502,
          &quot;MappingId&quot;: 0,
          &quot;IsVisible&quot;: true,
          &quot;PackageRequestId&quot;: 13870410,
          &quot;SortOrder&quot;: 3
      },
      {
          &quot;EstimateType&quot;: &quot;Trade&quot;,
          &quot;CarId&quot;: 0,
          &quot;Id&quot;: 10,
          &quot;SourceId&quot;: 10,
          &quot;ServiceId&quot;: 12,
          &quot;CategoryId&quot;: 5,
          &quot;Category&quot;: &quot;Valuation&quot;,
          &quot;Description&quot;: &quot;Trade Estimate Low&quot;,
          &quot;Value&quot;: 239800.0,
          &quot;ServiceResponsePropertyId&quot;: 503,
          &quot;MappingId&quot;: 0,
          &quot;IsVisible&quot;: true,
          &quot;PackageRequestId&quot;: 13870410,
          &quot;SortOrder&quot;: 2
      },
      {
          &quot;Id&quot;: 0,
          &quot;SourceId&quot;: 0,
          &quot;ServiceId&quot;: 11,
          &quot;CategoryId&quot;: 7,
          &quot;Category&quot;: &quot;Report&quot;,
          &quot;Description&quot;: &quot;ReportUrl&quot;,
          &quot;Value&quot;: &quot;https://pdf.lightstoneauto.co.za/Index.aspx?sourceurl=https://cdn.lightstoneauto.co.za/REPORTS/LIVE/f1a817b0-6b13-479a-b667-19d4ecd65a65.html&quot;,
          &quot;ServiceResponsePropertyId&quot;: 0,
          &quot;MappingId&quot;: 0,
          &quot;IsVisible&quot;: false,
          &quot;PackageRequestId&quot;: 0,
          &quot;SortOrder&quot;: 0
      },
      {
          &quot;Id&quot;: 0,
          &quot;SourceId&quot;: 0,
          &quot;ServiceId&quot;: 11,
          &quot;CategoryId&quot;: 7,
          &quot;Category&quot;: &quot;Report&quot;,
          &quot;Description&quot;: &quot;HtmlUrl&quot;,
          &quot;Value&quot;: &quot;https://cdn.lightstoneauto.co.za/REPORTS/LIVE/f1a817b0-6b13-479a-b667-19d4ecd65a65.html&quot;,
          &quot;ServiceResponsePropertyId&quot;: 0,
          &quot;MappingId&quot;: 0,
          &quot;IsVisible&quot;: false,
          &quot;PackageRequestId&quot;: 0,
          &quot;SortOrder&quot;: 0
      }
  ]
  </code></pre>
  <p>I want to only show certain items in the list,which are in &quot;Value&quot; like model, year, model etc..</p>
  <p>My API function</p>
  <pre><code>Future&lt;List&lt;Vehicle&gt;?&gt; signInData() async {
      final prefs = await SharedPreferences.getInstance();
      final String? token = prefs.getString('token');
  
      try {
        Response response = await _dio.post('$_baseUrl/api/gateway',
            data: {
              &quot;ClientPackageId&quot;: &quot;0cdd231a-d7ad-4a68-a934-d373affb5100&quot;,
              &quot;PlatformId&quot;: &quot;ios&quot;,
              &quot;ClientUserId&quot;: &quot;AhmedOmar&quot;,
              &quot;VinNumber&quot;: VINumber
            },
            options: Options(
              headers: {
                &quot;Content-Type&quot;: &quot;application/json;charset=UTF-8&quot;,
                &quot;Charset&quot;: 'utf-8',
                &quot;Authorization&quot;: &quot;Bearer $token&quot;,
              },
            ));
        print(&quot;data is here&quot;);
        print(json.encode(response.data));
        print(response.statusCode);
        if (response.statusCode == 200) {
          print(&quot;decoded&quot;);
  
          final parsedJson = json.decode(json.encode(response.data));
          print(
              List&lt;Vehicle&gt;.from(parsedJson.map((job) =&gt; Vehicle.fromJson(job))));
          return List&lt;Vehicle&gt;.from(
              parsedJson.map((job) =&gt; Vehicle.fromJson(job)));
        } else if (response.statusCode == 500) {
          // call your refresh token api here and save it in shared preference
          print(response.statusCode);
          await getToken();
          signInData();
        } else {
          throw Exception('Failed to load data');
        }
      } catch (e) {
        print(e);
      }
    }
  
    void showSnackBar(BuildContext context, String text) {
      final snackBar = SnackBar(
        content: Text(text),
        duration: const Duration(seconds: 3), //default is 4s
      );
      // Find the Scaffold in the widget tree and use it to show a SnackBar.
      ScaffoldMessenger.of(context).showSnackBar(snackBar);
    }
  }
  </code></pre>
  <p>The results I want to achieve is below, shown in a picture
  <a href="https://i.stack.imgur.com/bgWsP.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bgWsP.png" alt="enter image description here" /></a></p>