Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
kevmoo committed Nov 22, 2023
1 parent 43ce197 commit d509d1b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/src/web_helpers.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import 'package:web/helpers.dart';

// TODO: remove when https://github.com/dart-lang/web/pull/102 is landed
// and the min constraint on pkg:web is updated
extension WebSocketEvents on WebSocket {
Stream<Event> get onOpen => EventStreamProviders.openEvent.forTarget(this);
Stream<MessageEvent> get onMessage =>
Expand Down

0 comments on commit d509d1b

Please sign in to comment.