loki.wu 2 жил өмнө
parent
commit
30760d261f

+ 2 - 0
lib/notifications/center.dart

@@ -20,6 +20,8 @@ class WsNotificationCenter extends NotificationCenter {
   @override
   @override
   IConnection get connection => _connection!;
   IConnection get connection => _connection!;
 
 
+  String get host => _host ?? '';
+
   /// 设置主机地址
   /// 设置主机地址
   ///
   ///
   /// [host] 主机地址
   /// [host] 主机地址