MethodChannelHippoFlutterSdk class
An implementation of HippoFlutterSdkPlatform that uses method channels.
This class provides a platform-specific implementation of the Hippo Flutter SDK using method channels to interact with the native platform.
- Inheritance
-
- Object
- PlatformInterface
- HippoFlutterSdkPlatform
- MethodChannelHippoFlutterSdk
Constructors
Properties
- eventChannel → EventChannel
-
The event channel used to receive events from the native platform.
final
- 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
-
clearHippoData(
) → Future< void> -
Clears the Hippo data.
override
-
getUnreadCount(
) → Future< int?> -
Gets the unread count.
override
-
getUnreadCountStream(
) → Stream< int> -
Gets a stream of unread count updates.
override
-
initHippo(
String data) → Future< void> -
Initializes the Hippo Flutter SDK with the given data.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
openPeerChat(
String peerChatData) → Future< void> -
Opens a peer chat with the given peer chat data.
override
-
showConversations(
) → Future< void> -
Shows the conversations screen.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited