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
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → String
-
final
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.