NoticePoint.from constructor
Implementation
NoticePoint.from(Map<String, dynamic> data)
: oId = data['oId'] ?? '',
dataId = data['dataId'] ?? '',
userId = data['userId'] ?? '',
dataType = data['dataType'] ??
0, // Assuming DataType is an enum and 0 is the default value
description = data['description'] ?? '',
hasRead = data['hasRead'] ?? false,
createTime = data['createTime'] ?? '';