Carrot class
Constructors
- Carrot()
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
-
auth(
{required String userId, required String userAuthKey}) → Future< bool?> -
deinit(
) → Future< void> - After executing this method, you must initialize the plugin again.
-
openChat(
) → Future< void> -
sendFirebaseNotification(
dynamic remoteMessage) → Future< void> -
setDebug(
{bool isDebug = true}) → Future< void> - Launching the debug mode of native SDK
-
setToken(
String fcmToken) → Future< void> -
setup(
{required String apiKey, required String appId}) → Future< void> - This must be done before using any other methods of this plugin. You can use this in main.dart before launch runApp(...)
-
setUserProperty(
Map< String, String> userProperty) → Future<void> -
trackEvent(
String eventName, {String? eventParams}) → Future< void>