getSingleNotice method

Future<NoticeModel?> getSingleNotice({
  1. required String noticeId,
})

获取单条通知

Implementation

Future<NoticeModel?> getSingleNotice({
  required String noticeId,
}) {
  return _sdkManager.findFirst(
    query: _sdkManager
        .noticeModels()
        .filter()
        .noticeIdEqualTo(
          noticeId,
        )
        .build(),
  );
}