The DNotifier Dart SDK allows developers to integrate Realtime Chat, Pub/Sub messaging, and AI features directly into Flutter mobile apps and Dart-based applications.
It provides simple APIs to connect, send messages, subscribe to channels, and interact with AI agents.
connect()
Description:
Authenticates with DNotifier and connects your app to the realtime network. Sets up message callbacks for incoming messages and connection state changes.
Callbacks (optional):
onConnected β called when the client is successfully connected
onMessage β called for every incoming message
onDisconnected β called if the connection closes or encounters an error
Usage:
await client.connect();
getPlanLimits()
Description:
Returns your subscription limits after authentication, including messaging, AI requests, and knowledge base usage.