toJson method
Implementation
Map<String, dynamic> toJson() {
final _json = <String, dynamic>{};
if (id != null) {
_json[r'id'] = id;
}
if (createAt != null) {
_json[r'create_at'] = createAt;
}
if (userId != null) {
_json[r'user_id'] = userId;
}
if (status != null) {
_json[r'status'] = status;
}
if (count != null) {
_json[r'count'] = count;
}
if (desc != null) {
_json[r'desc'] = desc;
}
if (type != null) {
_json[r'type'] = type;
}
if (startAt != null) {
_json[r'start_at'] = startAt;
}
if (endAt != null) {
_json[r'end_at'] = endAt;
}
if (keywords != null) {
_json[r'keywords'] = keywords;
}
if (emails != null) {
_json[r'emails'] = emails;
}
return _json;
}