Intercom class
Properties
-
hashCode
→ int
-
The hash code for this object.
read-onlyinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a non-existent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
displayMessenger()
→ Future<void>
-
Displays the Intercom messenger
-
handlePush(Map<String, dynamic> message)
→ dynamic
-
Tells Intercom to handle the push message
-
hideMessenger()
→ dynamic
-
Hides the messenger
-
initialize({String androidApiKey, String iOSApiKey, String appId})
→ Future<void>
-
Initializes a instance of Intercom
-
isIntercomPush(Map<String, dynamic> message)
→ Future<bool>
-
This helps you to know when a message is from Intercom or not
-
logEvent(String name, {Map<String, dynamic> metadata})
→ Future<void>
-
Logs a event to the Intercom
-
logout()
→ Future<void>
-
Logout the user from Intercom
-
registerUnidentifiedUser()
→ Future<void>
-
Register the an unidentified user on Intercom
-
registerUserWithEmail(String email)
→ Future<void>
-
Register the user with an email
-
registerUserWithEmailAndUserId({String email, String userId})
→ Future<void>
-
Register the user with email and userId
-
registerWithUserId(String userId)
→ Future<void>
-
Register the user with an userId
-
sentDeviceToken(String token)
→ Future<void>
-
Sent the
token
to Intercom
-
setInAppMessages(bool enable)
→ Future<void>
-
-
setLauncherVisibility(bool visibility)
→ dynamic
-
Updates the visibility of the launcher
-
setTokenAndRegisterUser({String email, String userId, String phone, String name, DateTime signedUpAt, String token})
→ Future<void>
-
Send token and register user
-
updateUser({String email, String userId, String phone, String name, DateTime signedUpAt})
→ Future<void>
-
Updates the user with some custom data