You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
751 B
31 lines
751 B
class MissingChildrenModel {
|
|
int iD;
|
|
String text;
|
|
String pic;
|
|
bool verify;
|
|
String createdAt;
|
|
String bID;
|
|
|
|
MissingChildrenModel(
|
|
{this.iD, this.text, this.pic, this.verify, this.createdAt, this.bID});
|
|
|
|
MissingChildrenModel.fromJson(Map<String, dynamic> json) {
|
|
iD = json['ID'];
|
|
text = json['Text'];
|
|
pic = json['Pic'];
|
|
verify = json['Verify'];
|
|
createdAt = json['CreatedAt'];
|
|
bID = json['BID'];
|
|
}
|
|
|
|
Map<String, dynamic> toJson() {
|
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
|
data['ID'] = this.iD;
|
|
data['Text'] = this.text;
|
|
data['Pic'] = this.pic;
|
|
data['Verify'] = this.verify;
|
|
data['CreatedAt'] = this.createdAt;
|
|
data['BID'] = this.bID;
|
|
return data;
|
|
}
|
|
} |