MethodChannelCarrotquestSdk class

An implementation of CarrotquestSdkPlatform that uses method channels.

Inheritance

Properties

hashCode int
The hash code for this object.
no setterinherited
methodChannel MethodChannel
The method channel used to interact with the native platform.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

auth(String userId, {String? userAuthKey, String? userHash}) Future<String?>
override
getPlatformVersion() Future<String?>
override
getUnreadConversationsCount() Future<int>
override
getUnreadConversationsCountStream() Stream<int>
override
isInit() Future<bool>
override
logOut() Future<void>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openChat() Future<void>
override
pushCampaignsUnsubscribe() Future<void>
override
pushNotificationsUnsubscribe() Future<void>
override
sendFcmToken(String token) Future<void>
override
sendFirebasePushNotification(Map<String, dynamic> message) Future<void>
override
setup(String appId, String apiKey, String? appGroup) Future<void>
override
setUserProperty(UserProperty property) Future<void>
override
toString() String
A string representation of this object.
inherited
trackEvent(String event, {Map<String, String>? params}) Future<void>
override
trackScreen(String screen) Future<void>
override

Operators

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