5
0
Fork 0

Merge pull request #4 from NBTX/patch-1

Fix typedef error: (Duration) => void is not a subtype of (dynamic) => void
master
Steven Roose 2018-10-25 00:32:27 +01:00 committed by GitHub
commit f533f29798
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ import "dart:convert";
import "event.dart";
typedef void RetryIndicator(Duration);
typedef RetryIndicator = void Function(Duration retry);
class EventSourceDecoder implements StreamTransformer<List<int>, Event> {
RetryIndicator retryIndicator;