toJson method
Implementation
Map<String, dynamic> toJson() {
final _json = <String, dynamic>{};
if (channelId != null) {
_json[r'channel_id'] = channelId;
}
if (groupId != null) {
_json[r'group_id'] = groupId;
}
if (autoAdd != null) {
_json[r'auto_add'] = autoAdd;
}
if (createAt != null) {
_json[r'create_at'] = createAt;
}
if (deleteAt != null) {
_json[r'delete_at'] = deleteAt;
}
if (updateAt != null) {
_json[r'update_at'] = updateAt;
}
return _json;
}