From fb3d1da6fa6058d0c600fb2d8a91f1c0aa833229 Mon Sep 17 00:00:00 2001 From: Boram Bae Date: Tue, 14 Sep 2021 16:53:46 +0900 Subject: [PATCH] test --- packages/messageport/lib/src/messageport_manager.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/messageport/lib/src/messageport_manager.dart b/packages/messageport/lib/src/messageport_manager.dart index 38af5a7e8..536db6962 100644 --- a/packages/messageport/lib/src/messageport_manager.dart +++ b/packages/messageport/lib/src/messageport_manager.dart @@ -25,9 +25,9 @@ class TizenMessagePortManager { args['remoteAppId'] = remoteAppId; args['portName'] = portName; args['trusted'] = trusted; - final bool? status = - await _channel.invokeMethod('checkForRemote', args); - return status ?? false; + final bool status = + await _channel.invokeMethod('checkForRemote', args) as bool; + return status; } Future send(RemotePort remotePort, dynamic message) async {