PluginScreeb class
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
Static Methods
-
assignGroup(String? groupType, String groupName, Map<String, dynamic>? properties)
→ Future<bool?>
-
Send to Screeb backend a group assignation for current user
properties
-
channelHandler(MethodCall methodCall)
→ Future
-
-
closeSdk()
→ Future<bool?>
-
Provide a way to stop the SDK
-
closeSurvey()
→ Future<bool?>
-
Provide a way to close the survey
-
debug()
→ Future<bool?>
-
Provide a way to get various debug informations
-
debugTargeting()
→ Future<bool?>
-
Provide a way to debug targeting rules
-
handleHooks(dynamic hookId, dynamic payload)
→ dynamic
-
-
initSdk(String androidChannelId, String iosChannelId, String? userId, [Map<String, dynamic>? properties, Map<String, dynamic>? hooks])
→ Future<bool?>
-
Provides a way to initialize the SDK with a specific channel ID by
platform Android and iOS
-
resetIdentity()
→ Future<bool?>
-
Provide a way to reset the identity of the user
-
setIdentity(String userId, [Map<String, dynamic>? properties])
→ Future<bool?>
-
Provides an id for the user of the app with optional
properties
-
setProperty(Map<String, dynamic>? properties)
→ Future<bool?>
-
Send to Screeb backend the user's custom
properties
-
startSurvey(String surveyId, [bool allowMultipleResponses = true, Map<String, dynamic>? properties, bool ignoreSurveyStatus = true, Map<String, dynamic>? hooks])
→ Future<bool?>
-
Send to Screeb backend a tracking
screen
name with optional properties
-
trackEvent(String eventId, [Map<String, dynamic>? properties])
→ Future<bool?>
-
Send to Screeb backend a tracking
eventId
with optional properties
-
trackScreen(String screen, [Map<String, dynamic>? properties])
→ Future<bool?>
-
Send to Screeb backend a tracking
screen
name with optional properties
-
unassignGroup(String? groupType, String groupName, Map<String, dynamic>? properties)
→ Future<bool?>
-
Send to Screeb backend a group unassignation for current user
properties