You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The definition of DelegatingStreamSubscription<T>.onData passes a function of type T -> void to the onData callback of a StreamSubscription<dynamic> which does not statically guarantee to respect the contract. This has been supported via the "fuzzy arrow" feature:
The definition of
DelegatingStreamSubscription<T>.onData
passes a function of typeT -> void
to theonData
callback of aStreamSubscription<dynamic>
which does not statically guarantee to respect the contract. This has been supported via the "fuzzy arrow" feature:dart-lang/sdk#29630
This feature is being removed in Dart 2.0, and so this code needs to be fixed up.
The text was updated successfully, but these errors were encountered: