// To parse this JSON data, do // // final businessSettingListResponse = businessSettingListResponseFromJson(jsonString); import 'dart:convert'; List businessSettingListResponseFromJson(String str) => List.from(json.decode(str).map((x) => BusinessSettingListResponse.fromJson(x))); String businessSettingListResponseToJson(List data) => json.encode(List.from(data.map((x) => x.toJson()))); class BusinessSettingListResponse { BusinessSettingListResponse({ this.id, this.type, this.value, this.lang, }); int? id; String? type; var value; dynamic lang; factory BusinessSettingListResponse.fromJson(Map json) => BusinessSettingListResponse( id: json["id"], type: json["type"], value: json["value"], lang: json["lang"], ); Map toJson() => { "id": id, "type": type, "value": value, "lang": lang, }; }