Merge pull request #4 from NBTX/patch-1
Fix typedef error: (Duration) => void is not a subtype of (dynamic) => voidmaster
commit
f533f29798
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue