notification/domain
CommunityNotification domain layer for Flutter apps
AuthorVantoan252003
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Provides a clear domain-layer specification for handling notification entities, repository contracts, and usecases so teams can implement consistent, testable notification flows across a Flutter app.
Core Features & Use Cases
- Repository Contracts: Defines repository methods such as getNotifications, markRead, markAllRead, getUnreadCount, and registerFcmToken to standardize data access.
- Usecase Definitions: Encapsulates application actions (fetching notifications, marking read, counting unread, registering FCM tokens) as discrete usecases for easier testing and orchestration.
- Use Case Example: In a ride-hailing app, use these domain definitions to fetch a user's latest notifications, mark specific notifications as read when opened, and register device tokens for push delivery.
Quick Start
Use the notification domain definitions to implement and wire repository interfaces and usecases for fetching notifications, marking them read, and registering the device FCM token.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: notification/domain Download link: https://github.com/Vantoan252003/Mozi/archive/main.zip#notification-domain Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.