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
I have this error since i upgrated dart and flutter to last version.
lib/src/flutter_google_places.dart:468:17: Error: Method 'cancel' cannot be called on 'Timer?' because it is potentially null.
'Timer' is from 'dart:async'.
Try calling using ?. instead.
_debounce.cancel();
^^^^^^
/C:/Users/[User]/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/flutter_google_places-0.3.0/lib/src/flutter_google_places.dart:392:10: Context: '_debounce' refers to a property so it couldn't be promoted.
See http://dart.dev/go/non-promo-property
Timer? _debounce;
^
do you know the problem ?
The text was updated successfully, but these errors were encountered:
I have this error since i upgrated dart and flutter to last version.
lib/src/flutter_google_places.dart:468:17: Error: Method 'cancel' cannot be called on 'Timer?' because it is potentially null.
Try calling using ?. instead.
_debounce.cancel();
^^^^^^
/C:/Users/[User]/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/flutter_google_places-0.3.0/lib/src/flutter_google_places.dart:392:10: Context: '_debounce' refers to a property so it couldn't be promoted.
See http://dart.dev/go/non-promo-property
Timer? _debounce;
^
do you know the problem ?
The text was updated successfully, but these errors were encountered: