implicit-casts:false in flutter/lib/src/scheduler (#45721)
This commit is contained in:
parent
9d574d2c22
commit
1ae5d676e5
@ -433,8 +433,8 @@ class TickerFuture implements Future<void> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Future<E> then<E>(dynamic f(void value), { Function onError }) {
|
Future<R> then<R>(FutureOr<R> onValue(void value), { Function onError }) {
|
||||||
return _primaryCompleter.future.then<E>(f, onError: onError);
|
return _primaryCompleter.future.then<R>(onValue, onError: onError);
|
||||||
}
|
}
|
||||||
|
|
||||||
@override
|
@override
|
||||||
|
Loading…
x
Reference in New Issue
Block a user