UserNotificationModel.fromDocumentSnapshot constructor
Connect the generated _$UserNotificationModelFromJson
function to the fromJson
factory.
Implementation
factory UserNotificationModel.fromDocumentSnapshot(
DocumentSnapshot<Map<String, dynamic>> snapshot) {
final vo = _$UserNotificationModelFromJson(snapshot.data()!);
vo.snapshot = snapshot;
vo.uid = snapshot.id;
return vo;
}