RoktSdk class
The main interface to Rokt SDK
Use the member methods to interact with the Rokt SDK
Constructors
- RoktSdk()
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
-
execute(
{required String viewName, Map< String, String> attributes = const {}, RoktCallback onLoad = _defaultRoktCallBack, RoktCallback onUnLoad = _defaultRoktCallBack, RoktCallback onShouldShowLoadingIndicator = _defaultRoktCallBack, RoktCallback onShouldHideLoadingIndicator = _defaultRoktCallBack}) → Future<void> - Execute Rokt widget
-
initialize(
String roktTagId, {String appVersion = '', Map< String, String> fontFilePathMap = const {}}) → Future<void> - Initializes Rokt SDK
-
setLoggingEnabled(
{required bool enable}) → Future< void> - Enable or disable debug logging from the library