toEntity method
Implementation
@override
NotificationEntity toEntity({String? appId}) {
return NotificationEntity(
timestamp: (timestamp == null) ? null : timestamp!.millisecondsSinceEpoch,
appId: appId,
description: (description != null) ? description : null,
read: (read != null) ? read : null,
reporterId: (reporterId != null) ? reporterId : null,
assigneeId: (assigneeId != null) ? assigneeId : null,
status: (status != null) ? status!.index : null,
);
}