DummyNotificationManager class

A NotificationManager implementation that returns a fixed string for the device token. Intended for use in tests only.

Inheritance

Constructors

DummyNotificationManager()

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.
override
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.
override
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

Constants

DUMMY_TOKEN → const String
The token this manager will always return.