You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
778 B
Dart
24 lines
778 B
Dart
class ProjectInfoModel {
|
|
ProjectInfoModel({
|
|
this.facilityGroupId,
|
|
this.facilityId,
|
|
this.facilityName,
|
|
});
|
|
|
|
final String? facilityGroupId;
|
|
final int? facilityId;
|
|
final String? facilityName;
|
|
|
|
factory ProjectInfoModel.fromJson(Map<String, dynamic> json) => ProjectInfoModel(
|
|
facilityGroupId: json["facilityGroupId"] == null ? null : json["facilityGroupId"],
|
|
facilityId: json["facilityId"] == null ? null : json["facilityId"],
|
|
facilityName: json["facilityName"] == null ? null : json["facilityName"],
|
|
);
|
|
|
|
Map<String, dynamic> toJson() => {
|
|
"facilityGroupId": facilityGroupId == null ? null : facilityGroupId,
|
|
"facilityId": facilityId == null ? null : facilityId,
|
|
"facilityName": facilityName == null ? null : facilityName,
|
|
};
|
|
}
|