Properties
action
→ String
The action this handler responds to, e.g. 'CERTIFICATE'.
no setter
hashCode
→ int
The hash code for this object.
no setter inherited
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
Methods
canHandle (String messageAction )
→ bool
Whether this handler accepts the arriving message's action. By default
it must equal action ; override it for pattern matching, e.g.
messageAction.startsWith('orders/').
handle (PushMessage message )
→ FutureOr <void >
Runs when a matched message arrives while the app is open or when its
notification is tapped.
handleBackground (PushMessage message )
→ FutureOr <void >
Runs in the background isolate, where no UI exists; does nothing
unless you override it.
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString ()
→ String
A string representation of this object.
inherited