We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3a50834 + c8ce1cc commit 4664887Copy full SHA for 4664887
2 files changed
lib/src/html.dart
@@ -121,7 +121,7 @@ part 'html/api/window.dart';
121
part 'html/api/window_misc.dart';
122
123
part 'html/api/workers.dart';
124
-
+part 'html/api/broadcast_channel.dart';
125
part 'html/dom/css.dart';
126
127
part 'html/dom/css_computed_style.dart';
lib/src/html/api/broadcast_channel.dart
@@ -0,0 +1,13 @@
1
+part of '../../html.dart';
2
+
3
+class BroadcastChannel {
4
+ final String name;
5
6
+ BroadcastChannel(this.name);
7
8
+ void close() {}
9
10
+ void postMessage(Object message) {}
11
12
+ Stream<dynamic> get onMessage => const Stream.empty();
13
+}
0 commit comments