NotificationManager class abstract

An interface to get the token used by Firebase Cloud Messaging to identify a particular device.

The intention here is to have a layer of indirection so that testing and offline development don't require actual communication with an external service.

Implementers

Constructors

NotificationManager()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getFCMToken() Future<String>?
Get the token for the device this is executing on.
init() → void
Initialize the implementing class so that it is ready to work. Calling other methods (such as getFCMToken) before calling init is unlikely to work the way you want it to.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited