toJson method
Implementation
Map<String, dynamic> toJson() {
final _json = <String, dynamic>{};
if (email != null) {
_json[r'email'] = email;
}
if (push != null) {
_json[r'push'] = push;
}
if (desktop != null) {
_json[r'desktop'] = desktop;
}
if (markUnread != null) {
_json[r'mark_unread'] = markUnread;
}
return _json;
}