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 (updateAt != null) {
_json[r'update_at'] = updateAt;
}
if (deleteAt != null) {
_json[r'delete_at'] = deleteAt;
}
if (channelId != null) {
_json[r'channel_id'] = channelId;
}
if (description != null) {
_json[r'description'] = description;
}
if (displayName != null) {
_json[r'display_name'] = displayName;
}
return _json;
}