// To parse this JSON data, do // // final landClassification = landClassificationFromJson(jsonString); import 'dart:convert'; LandClassification landClassificationFromJson(String str) => LandClassification.fromJson(json.decode(str)); String landClassificationToJson(LandClassification data) => json.encode(data.toJson()); class LandClassification { final int? id; final String? classificationCode; final String? description; LandClassification({ this.id, this.classificationCode, this.description, }); factory LandClassification.fromJson(Map json) => LandClassification( id: json["id"], classificationCode: json["classification_code"], description: json["description"], ); Map toJson() => { "id": id, "classification_code": classificationCode, "description": description, }; }