Notification constructor
Notification({})
Implementation
factory Notification({
$core.String? id,
$core.String? subject,
$core.String? content,
$core.int? code,
$core.String? senderId,
$0.Timestamp? createTime,
$core.bool? persistent,
}) {
final _result = create();
if (id != null) {
_result.id = id;
}
if (subject != null) {
_result.subject = subject;
}
if (content != null) {
_result.content = content;
}
if (code != null) {
_result.code = code;
}
if (senderId != null) {
_result.senderId = senderId;
}
if (createTime != null) {
_result.createTime = createTime;
}
if (persistent != null) {
_result.persistent = persistent;
}
return _result;
}