NoticeAt.from constructor

NoticeAt.from(
  1. Map<String, dynamic> data
)

Implementation

NoticeAt.from(Map<String, dynamic> data)
    : oId = data['oId'] ?? '',
      dataType = data['dataType'] ?? 0,
      userName = data['userName'] ?? '',
      avatarURL = data['userAvatarURL'] ?? '',
      content = data['content'] ?? '',
      hasRead = data['hasRead'] ?? false,
      createTime = data['createTime'] ?? '';