@override Future<void> openChat() async { try { await methodChannel.invokeMethod<void>('openChat'); } on PlatformException { 'Failed to get open chat.'; } }