Index: lib/src/scope.dart |
diff --git a/lib/src/scope.dart b/lib/src/scope.dart |
index 2f1cc63d0042dbbcf22ece944357b1c7b105cd01..6bf70f98e3e285819a145d7fa3412609bd6aa2c0 100644 |
--- a/lib/src/scope.dart |
+++ b/lib/src/scope.dart |
@@ -103,7 +103,7 @@ class Scope { |
/// This returns the value returned by [immediate] if it's not `null` or |
/// `false`, or else the first non-`null`, non-`false` value returned by |
/// [onEvent]. |
- Future/*<T>*/ getInState/*<T>*/(Stream<Map> stream, Future/*<T>*/ immediate(), |
+ Future<T> getInState<T>(Stream<Map> stream, Future<T> immediate(), |
onEvent(Map json)) async { |
var completer = new Completer.sync(); |