fromMap static method
Implementation
static NotificationEntity? fromMap(Object? o,
{Map<String, String>? newDocumentIds}) {
if (o == null) return null;
var map = o as Map<String, dynamic>;
return NotificationEntity(
timestamp: map['timestamp'] == null
? null
: (map['timestamp'] as Timestamp).millisecondsSinceEpoch,
appId: map['appId'],
description: map['description'],
read: map['read'],
reporterId: map['reporterId'],
assigneeId: map['assigneeId'],
status: map['status'],
);
}