PushProvider enum

Push notification service provider types supported by the Gameball SDK.

This enum provides type-safe push provider management to replace string-based provider handling and ensures consistent provider identification across the SDK.

Inheritance
Available extensions

Values

firebase → const PushProvider

Firebase Cloud Messaging (FCM) for push notifications.

Used for Android and iOS devices that support Google Play Services.

huawei → const PushProvider

Huawei Push Kit (HMS) for push notifications.

Used for Huawei devices that don't have Google Play Services, particularly in regions where Google services are not available.

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
Returns the string representation of the push provider.
no setter

Methods

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

values → const List<PushProvider>
A constant List of the values in this enum, in order of their declaration.