openConversation static method
setDisableInAppNotifications
Disables the in-app notifications
Available Platforms
Web, Android, iOS
Implementation
static Future<void> openConversation({required String shareToken}) async {
if (!kIsWeb && !io.Platform.isAndroid && !io.Platform.isIOS) {
debugPrint(
'openConversation is not available for current operating system',
);
return;
}
await _channel.invokeMethod(
'openConversation',
{'shareToken': shareToken},
);
}