MopinionFlutterIntegrationPlugin class
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
-
data(
Map< String, String> dataMap) → Future<void> - Adds meta data to the form. This data will be sent with the form. Example:
-
event(
String eventName) → Future< void> -
Launches event with
eventName
. -
eventsData(
) → Stream< MopinionFormState> - Returns a stream of MopinionFormState events.
-
initSdk(
String deploymentKey, {bool enableLogging = false}) → Future< void> -
Initializes the SDK with
deploymentKey
. Optionally, you can enable logging. -
removeAllMetaData(
) → Future< void> - Removes all meta data.
-
removeMetaData(
String key) → Future< void> -
Removes meta data for
key
.