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