stevenroose / dart-eventsource

A client and server implementation of Server-Side Events.
MIT License
56 stars 49 forks source link

Dart 2 - Not a subtype error #6

Closed jspschool closed 5 years ago

jspschool commented 5 years ago

I use Dart VM version: 2.1.0-dev.9.4.flutter-f9ebf21297

I think dart does not match type

Unhandled exception: type '(Duration) => void' is not a subtype of type '(dynamic) => void'

0 new EventSource._internal (package:eventsource/eventsource.dart:69:55)

1 EventSource.connect (package:eventsource/eventsource.dart:63:26)

stevenroose commented 5 years ago

Why did you close this, was this solved?