53 lines
1.4 KiB
Dart
53 lines
1.4 KiB
Dart
|
// To parse this JSON data, do
|
||
|
//
|
||
|
// final valueAdjustments = valueAdjustmentsFromJson(jsonString);
|
||
|
|
||
|
import 'dart:convert';
|
||
|
|
||
|
ValueAdjustments valueAdjustmentsFromJson(String str) =>
|
||
|
ValueAdjustments.fromJson(json.decode(str));
|
||
|
|
||
|
String valueAdjustmentsToJson(ValueAdjustments data) =>
|
||
|
json.encode(data.toJson());
|
||
|
|
||
|
class ValueAdjustments {
|
||
|
final int? id;
|
||
|
final int? landapprDetailsId;
|
||
|
final String? baseMarketval;
|
||
|
final String? adjustmentFactors;
|
||
|
final String? adjustment;
|
||
|
final String? valueAdjustment;
|
||
|
final String? marketValue;
|
||
|
|
||
|
ValueAdjustments({
|
||
|
this.id,
|
||
|
this.landapprDetailsId,
|
||
|
this.baseMarketval,
|
||
|
this.adjustmentFactors,
|
||
|
this.adjustment,
|
||
|
this.valueAdjustment,
|
||
|
this.marketValue,
|
||
|
});
|
||
|
|
||
|
factory ValueAdjustments.fromJson(Map<String, dynamic> json) =>
|
||
|
ValueAdjustments(
|
||
|
id: json["id"],
|
||
|
landapprDetailsId: json["landappr_details_id"],
|
||
|
baseMarketval: json["base_marketval"],
|
||
|
adjustmentFactors: json["adjustment_factors"],
|
||
|
adjustment: json["adjustment"],
|
||
|
valueAdjustment: json["value_adjustment"],
|
||
|
marketValue: json["market_value"],
|
||
|
);
|
||
|
|
||
|
Map<String, dynamic> toJson() => {
|
||
|
"id": id,
|
||
|
"landappr_details_id": landapprDetailsId,
|
||
|
"base_marketval": baseMarketval,
|
||
|
"adjustment_factors": adjustmentFactors,
|
||
|
"adjustment": adjustment,
|
||
|
"value_adjustment": valueAdjustment,
|
||
|
"market_value": marketValue,
|
||
|
};
|
||
|
}
|