MergnChannel class
A class that provides methods for interacting with the Mergn SDK via platform channels.
Constructors
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 Methods
-
firebaseToken(
String value) → Future< void> -
Sends a Firebase token with the specified
value
. -
initializeSDK(
) → Future< void> - Initializes the Mergn SDK.
-
login(
String value) → Future< void> -
Logs in with the specified
value
. -
registerAPICall(
String apiKey) → Future< void> -
Registers an API call with the provided
apiKey
. -
sendAttribute(
String attributeName, String attributeValue) → Future< void> -
Sends an attribute with the specified
attributeName
andattributeValue
. -
sendEvent(
String eventName, Map< String, String> eventProperties) → Future<void> -
Sends an event with the specified
eventName
andeventProperties
.