copyWith method
Implementation
NotificationEntity copyWith({
String? documentID,
Object? timestamp,
String? appId,
String? description,
bool? read,
String? reporterId,
String? assigneeId,
int? status,
}) {
return NotificationEntity(
timestamp: timestamp ?? this.timestamp,
appId: appId ?? this.appId,
description: description ?? this.description,
read: read ?? this.read,
reporterId: reporterId ?? this.reporterId,
assigneeId: assigneeId ?? this.assigneeId,
status: status ?? this.status,
);
}