Model constructor
Model({})
Implementation
factory Model({
$fixnum.Int64? id,
$core.String? action,
$core.String? content,
$core.String? sender,
$core.String? receiver,
$core.String? extra,
$core.String? title,
$core.String? format,
$fixnum.Int64? timestamp,
}) {
final _result = create();
if (id != null) {
_result.id = id;
}
if (action != null) {
_result.action = action;
}
if (content != null) {
_result.content = content;
}
if (sender != null) {
_result.sender = sender;
}
if (receiver != null) {
_result.receiver = receiver;
}
if (extra != null) {
_result.extra = extra;
}
if (title != null) {
_result.title = title;
}
if (format != null) {
_result.format = format;
}
if (timestamp != null) {
_result.timestamp = timestamp;
}
return _result;
}