toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.accountId != null) {
json[r'accountId'] = this.accountId;
} else {
json[r'accountId'] = null;
}
json[r'messageIds'] = this.messageIds;
if (this.permanent != null) {
json[r'permanent'] = this.permanent;
} else {
json[r'permanent'] = null;
}
return json;
}