openPeerChat method

  1. @override
Future<void> openPeerChat(
  1. String peerChatData
)
override

Opens a peer chat with the given peer chat data.

This method invokes the openPeerChat method on the native platform, passing the provided peer chat data as an argument.

Returns a Future that completes when the peer chat is opened.

Implementation

@override
Future<void> openPeerChat(String peerChatData) {
  return methodChannel.invokeMethod<void>('openPeerChat', peerChatData);
}