ChabokPush class

Constructors

ChabokPush()
factory

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

addTag(dynamic tagName) Future
addTags(List<String> tags) Future
addToUserAttributeArray(String attributeKey, List<String> attributeValues) → dynamic
decrementUserAttribute(String attributeKey, [double attributeValue = 1]) → dynamic
getInstallationId() Future<String>
getUserId() Future<String>
incrementUserAttribute(String attributeKey, [double attributeValue = 1]) → dynamic
login(String userId) Future
logout() → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
publish(ChabokMessage message) → dynamic
removeFromUserAttributeArray(String attributeKey, List<String> attributeValues) → dynamic
removeTag(dynamic tagName) Future
removeTags(dynamic tags) Future
setOnConnectionHandler(Function callback) → void
setOnDeepLinkHandler(Function callback) → void
setOnMessageCallback(dynamic callback) → void
setOnNotificationOpenedHandler(Function callback) → void
setOnReferralHandler(Function callback) → void
setOnShowNotificationHandler(Function callback) → void
setUserAttributes(dynamic attributes) → dynamic
subscribe(String channelName) Future<String>
toString() String
Returns a string representation of this object.
inherited
track(String trackName, [dynamic arguments]) → dynamic
trackPurchase(String trackName, ChabokEvent chabokEvent) → dynamic
unsetUserAttribute(String attribute) → dynamic
unsetUserAttributes(List<String> attributes) → dynamic
unsubscribe(String channelName) Future<String>

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited

Static Properties

shared ChabokPush
read-only