CooeePlugin class Null safety

Constructors

CooeePlugin()
Default Constructor will point to plugin initialization
factory

Properties

cooeeInAppNotificationButtonClickedHandler CooeeInAppNotificationButtonClickedHandler?
read / write
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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
setCooeeInAppNotificationAction(CooeeInAppNotificationButtonClickedHandler? handler) → void
Define a method to handle inApp notification button clicked
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

getUserID() Future<String?>
Provides user ID assigned to the user by Cooee.
sendEvent(String eventName, [Map<String, dynamic>? eventProperties]) → void
Sends custom events to the server and returns with trigger data(if any)
setCurrentScreen(String screenName) → void
Manually update screen name
showDebugInfo() → void
Launch DebugInfoActivity activity which holds debug information. These information is useful to debug problem with the SDK.
updateUserData(Map<String, dynamic> userData) → void
Send given user data to the server
@Deprecated("Use updateUserProfile(Map) instead")
updateUserProfile(Map<String, dynamic> userData) → void
Send given user data to the server
updateUserProperties(Map<String, dynamic> userProperties) → void
Send given user properties to the server
@Deprecated("Use updateUserProfile(Map) instead")