ServiceName enum
The Background Service that will be associated with the commands/events. Every Background Service operates independently, but they share the same API.
Values
- backgroundFetch → const ServiceName
-
const ServiceName('backgroundFetch')
- backgroundSync → const ServiceName
-
const ServiceName('backgroundSync')
- pushMessaging → const ServiceName
-
const ServiceName('pushMessaging')
- notifications → const ServiceName
-
const ServiceName('notifications')
- paymentHandler → const ServiceName
-
const ServiceName('paymentHandler')
- periodicBackgroundSync → const ServiceName
-
const ServiceName('periodicBackgroundSync')
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
ServiceName> - A constant List of the values in this enum, in order of their declaration.