2023-09-01 03:22:48 +00:00
|
|
|
// To parse this JSON data, do
|
|
|
|
//
|
|
|
|
// final landPropertyAssessment = landPropertyAssessmentFromJson(jsonString);
|
|
|
|
|
|
|
|
import 'dart:convert';
|
|
|
|
|
|
|
|
LandPropertyAssessment landPropertyAssessmentFromJson(String str) =>
|
|
|
|
LandPropertyAssessment.fromJson(json.decode(str));
|
|
|
|
|
|
|
|
String landPropertyAssessmentToJson(LandPropertyAssessment data) =>
|
|
|
|
json.encode(data.toJson());
|
|
|
|
|
|
|
|
class LandPropertyAssessment {
|
|
|
|
final int? id;
|
|
|
|
final int? landapprDetailsId;
|
|
|
|
final String? actualUse;
|
|
|
|
final String? marketval;
|
|
|
|
final String? assessmentLevel;
|
|
|
|
final String? assessedValue;
|
|
|
|
final String? totalMarketval;
|
|
|
|
final String? totalAssessedval;
|
|
|
|
|
|
|
|
LandPropertyAssessment({
|
|
|
|
this.id,
|
|
|
|
this.landapprDetailsId,
|
|
|
|
this.actualUse,
|
|
|
|
this.marketval,
|
|
|
|
this.assessmentLevel,
|
|
|
|
this.assessedValue,
|
|
|
|
this.totalMarketval,
|
|
|
|
this.totalAssessedval,
|
|
|
|
});
|
|
|
|
|
2024-02-08 00:52:29 +00:00
|
|
|
LandPropertyAssessment copy({
|
|
|
|
final int? id,
|
|
|
|
final int? landapprDetailsId,
|
|
|
|
final String? actualUse,
|
|
|
|
final String? marketval,
|
|
|
|
final String? assessmentLevel,
|
|
|
|
final String? assessedValue,
|
|
|
|
final String? totalMarketval,
|
|
|
|
final String? totalAssessedval,
|
|
|
|
}) {
|
|
|
|
return LandPropertyAssessment(
|
|
|
|
id: id ?? this.id,
|
|
|
|
landapprDetailsId: landapprDetailsId ?? this.landapprDetailsId,
|
|
|
|
actualUse: actualUse ?? this.actualUse,
|
|
|
|
marketval: marketval ?? this.marketval,
|
|
|
|
assessmentLevel: assessmentLevel ?? this.assessmentLevel,
|
|
|
|
assessedValue: assessedValue ?? this.assessedValue,
|
|
|
|
totalMarketval: totalMarketval ?? this.totalMarketval,
|
|
|
|
totalAssessedval: totalAssessedval ?? this.totalAssessedval,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
2023-09-01 03:22:48 +00:00
|
|
|
factory LandPropertyAssessment.fromJson(Map<String, dynamic> json) =>
|
|
|
|
LandPropertyAssessment(
|
|
|
|
id: json["id"],
|
|
|
|
landapprDetailsId: json["landappr_details_id"],
|
|
|
|
actualUse: json["actual_use"],
|
|
|
|
marketval: json["marketval"],
|
|
|
|
assessmentLevel: json["assessment_level"],
|
|
|
|
assessedValue: json["assessed_value"],
|
|
|
|
totalMarketval: json["total_marketval"],
|
|
|
|
totalAssessedval: json["total_assessedval"],
|
|
|
|
);
|
|
|
|
|
2024-02-08 00:52:29 +00:00
|
|
|
factory LandPropertyAssessment.fromJson2(Map<String, dynamic> json) =>
|
|
|
|
LandPropertyAssessment(
|
|
|
|
id: json["id"],
|
|
|
|
landapprDetailsId: json["landapprDetailsId"],
|
|
|
|
actualUse: json["actualUse"],
|
|
|
|
marketval: json["marketval"],
|
|
|
|
assessmentLevel: json["assessmentLevel"],
|
|
|
|
assessedValue: json["assessedValue"],
|
|
|
|
totalMarketval: json["totalMarketval"],
|
|
|
|
totalAssessedval: json["totalAssessedval"],
|
|
|
|
);
|
|
|
|
|
2023-09-01 03:22:48 +00:00
|
|
|
Map<String, dynamic> toJson() => {
|
|
|
|
"id": id,
|
|
|
|
"landappr_details_id": landapprDetailsId,
|
|
|
|
"actual_use": actualUse,
|
|
|
|
"marketval": marketval,
|
|
|
|
"assessment_level": assessmentLevel,
|
|
|
|
"assessed_value": assessedValue,
|
|
|
|
"total_marketval": totalMarketval,
|
|
|
|
"total_assessedval": totalAssessedval,
|
|
|
|
};
|
|
|
|
}
|