SmartechPlugin class

Constructors

SmartechPlugin()
factory

Properties

fetchAlreadyGeneratedTokenFromFCM Future<String?>
no setter
hashCode int
The hash code for this object.
no setterinherited
platformVersion Future<String?>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clearUserIdentity() Future<void>
createNotificationChannel(SMTNotifcationChannelBuilder builder) Future<void>
createNotificationChannelGroup(String groupId, String groupName) Future<void>
deleteNotificationChannel(String channelId) Future<void>
deleteNotificationChannelGroup(String groupId) Future<void>
getDevicePushToken() Future<String?>
getDeviceUniqueId() Future<String?>
getInboxMessageCount(int messageTyep) Future<int?>
getUserIdentity() Future<String?>
handleDeeplinkAction(OnhandleDeeplinkAction onhandleDeeplinkAction) Future<void>
handlePushNotification(String notificationData) Future<void>
hasOptedInAppMessage() Future<bool?>
hasOptedPushNotification() Future<bool?>
hasOptedTracking() Future<bool?>
initPlugin() Future<void>
login(String userIdentity) Future<void>
logoutAndClearUserIdentity(bool clearUserIdentity) Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onhandleDeeplinkActionBackground() Future<void>
openNativeWebView() Future<void>
openUrl(String url) Future<void>
optInAppMessage(bool isOpted) Future<void>
optPushNotification(bool isOpted) Future<void>
optTracking(bool isOpted) Future<void>
setDebugLevel(int level) Future<void>
setDevicePushToken(String token) Future<String?>
setInAppCustomHTMLListener(CustomHTMLCallback customHTMLCallback) Future<void>
setNotificationOptions(SMTNotificationOptions options) Future<void>
setUserIdentity(String userIdentity) Future<void>
setUserLocation(double latitude, double longitude) Future<void>
toString() String
A string representation of this object.
inherited
trackAppInstall() Future<void>
trackAppInstallUpdateBySmartech() Future<void>
trackAppUpdate() Future<void>
trackEvent(String eventName, Map<String, dynamic> eventData) Future<void>
updateUserProfile(Map<String, dynamic> map) Future<void>

Operators

operator ==(Object other) bool
The equality operator.
inherited