InAppMessageData class

The InAppMessageData class represents data for an in-app message campaign, including campaign hash, variant identifier, additional parameters, and a flag for testing.

Constructors

InAppMessageData(String campaignHash, String variantIdentifier, Map<String, String> additionalParameters, bool isTest)
InAppMessageData.fromMap(Map map)
This is a constructor named fromMap that takes a Map as an argument and creates a new instance of the InAppMessageData class using the values from the map.

Properties

additionalParameters Map<String, String>
getter/setter pair
campaignHash String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isTest bool
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
variantIdentifier String
getter/setter pair

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