13 lines
267 B
Dart
13 lines
267 B
Dart
|
class PlanItem{
|
||
|
int? id;
|
||
|
String? name;
|
||
|
dynamic amount;
|
||
|
dynamic validity;
|
||
|
|
||
|
PlanItem.fromJson(Map<String, dynamic> json){
|
||
|
id = json["id"] ?? "";
|
||
|
name = json["name"] ?? "";
|
||
|
amount = json["amount"] ?? "";
|
||
|
validity = json["validity"] ?? "";
|
||
|
}
|
||
|
}
|