toJsonString method
String
toJsonString(
)
override
Implementation
@override
String toJsonString() {
Map<String, dynamic> map = {};
map['msg'] = super.msg;
map['sn'] = sn;
map['userId'] = userId;
if (st != null) {
map['st'] = st!;
}
if (et != null) {
map['et'] = et!;
}
if (am != null) {
map['am'] = am!;
}
if (wd != null) {
map['wd'] = wd!;
}
if (hg != null) {
map['hg'] = hg!;
}
if (ch != null) {
map['ch'] = ch!;
}
map['pgsize'] = pgsize;
map['pgnum'] = pgnum;
if (event != null) {
map['event'] = event;
}
if (usercheck != null) {
map['usercheck'] = usercheck!;
}
if (muserid != null) {
map['muserid'] = muserid!;
}
return json.encode(map);
}