NotifiableClient class
- Inheritance
-
- Object
- ChangeNotifier
- NotifiableClient
Constructors
-
NotifiableClient({required String publicKey, Logger? logger, Object? push = _platform, KeyValueStore? storage, Object? device = _platform, List<
DeepLink> ? deepLinks, void onDeepLink(String url)?, HttpTransport? transport})
Properties
-
deepLinks
→ List<
DeepLink> ? -
final
- device ↔ DevicePort
-
latefinal
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasListeners → bool
-
Whether any listeners are currently registered.
no setterinherited
- logger → Logger
-
final
- onDeepLink → void Function(String url)?
-
final
- publicKey → String
-
final
- push ↔ PushPort?
-
latefinal
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- snapshot → NotifiableSnapshot
-
no setter
Methods
-
addListener(
VoidCallback listener) → void -
Register a closure to be called when the object changes.
inherited
-
clickDelivery(
String deliveryId) → Future< void> -
dispose(
) → void -
Discards any resources used by the object.
inherited
-
identify(
{String? email, String? externalId, String? firstName, String? lastName}) → Future< Subscriber> -
inbox(
{InboxQuery? query}) → Future< InboxPage> -
listNotifications(
{required String subscriberId, InboxQuery? query}) → Future< InboxPage> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notification(
String notificationId) → Future< SubscriberNotification> -
notifyListeners(
) → void -
Call all the registered listeners.
inherited
-
openNotification(
String notificationId) → Future< void> -
removeListener(
VoidCallback listener) → void -
Remove a previously registered closure from the list of closures that are
notified when the object changes.
inherited
-
requestPermission(
) → Future< PermissionStatus> -
setDevIndicator(
{required bool enabled}) → Future< void> -
setDiagnostics(
{required bool enabled}) → Future< void> -
start(
) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
-
track(
String name, {Map< String, EventProperty> ? properties}) → Future<RecordedEvent>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited