HomelidoMeeting.fromJson constructor
HomelidoMeeting.fromJson(
- Map<String, dynamic> json
)
Implementation
HomelidoMeeting.fromJson(Map<String, dynamic> json) {
proInfo = ProsModel.fromJson(json['proInfo'] ?? {});
userInfo = UserModel.fromJson(json['userInfo'] ?? {});
if (json["id"] is String) this.id = json["id"];
if (json["propertyId"] is int) this.propertyId = json["propertyId"];
if (json["userIdPresentor"] is int)
this.userIdPresentor = json["userIdPresentor"];
if (json["userIdVisitor"] is int)
this.userIdVisitor = json["userIdVisitor"];
if (json["meetingDatetime"] is int)
this.meetingDatetime = json["meetingDatetime"];
if (json["status"] is int) this.status = json["status"];
if (json['homelidoPropertyInfo'] != null)
homelidoPropertyInfo =
HomelidoPropertyInfo.fromJson(json['homelidoPropertyInfo']);
}