toJson method
Implementation
Map<String, dynamic> toJson() {
final _json = <String, dynamic>{};
if (id != null) {
_json[r'id'] = id;
}
if (type != null) {
_json[r'type'] = type;
}
if (createAt != null) {
_json[r'create_at'] = createAt;
}
if (userId != null) {
_json[r'user_id'] = userId;
}
if (channelId != null) {
_json[r'channel_id'] = channelId;
}
if (filename != null) {
_json[r'filename'] = filename;
}
if (fileSize != null) {
_json[r'file_size'] = fileSize;
}
if (fileOffset != null) {
_json[r'file_offset'] = fileOffset;
}
return _json;
}