Pushy class
Constructors
- Pushy()
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
-
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
Static Properties
- appId ↔ dynamic
-
getter/setter pair
- notificationClickQueue ↔ List
-
getter/setter pair
- notificationQueue ↔ List
-
getter/setter pair
Static Methods
-
clearBadge(
) → void -
getAPNsToken(
) → Future< String> -
getDeviceCredentials(
) → Future< Object?> -
getFCMToken(
) → Future< String> -
isIgnoringBatteryOptimizations(
) → Future< bool> -
isRegistered(
) → Future< bool> -
launchBatteryOptimizationsActivity(
) → void -
listen(
) → void -
notify(
String title, String message, Map< String, dynamic> data) → void -
register(
) → Future< String> -
requestStoragePermission(
) → void -
setAppId(
String id) → void -
setCriticalAlertOption(
) → void -
setDeviceCredentials(
Map credentials) → Future< String?> -
setEnterpriseConfig(
String? apiEndpoint, String? mqttEndpoint) → void -
setHeartbeatInterval(
int resourceName) → void -
setJobServiceInterval(
int resourceName) → void -
setNotificationClickListener(
NotificationCallback fn) → void -
setNotificationIcon(
String resourceName) → void -
setNotificationListener(
NotificationCallback fn) → void -
subscribe(
dynamic topics) → Future< void> -
toggleFCM(
bool value) → void -
toggleInAppBanner(
bool value) → void -
toggleMethodSwizzling(
bool value) → void -
toggleNotifications(
bool value) → void -
unsubscribe(
dynamic topics) → Future< void>