BookSearch icon indicating copy to clipboard operation
BookSearch copied to clipboard

Error: The method 'retype' isn't defined for the class 'Stream<T>

Open LennonFan opened this issue 6 years ago • 2 comments

Error: The method 'retype' isn't defined for the class 'Stream<T>

LennonFan avatar May 11 '19 12:05 LennonFan

same issue here, tried to change version of rxdart to 0.22.0 and also had to add reference to http in the yaml file which got on to the code, but then all the debounce lines fails :

https://i.imgur.com/v3C2rYj.png

anyone knows whats going on ?

goltvn avatar Jun 29 '19 15:06 goltvn

Found it :

  1. had to add reference to http
  2. change version on rxdart to 0.22.0

change all lines where it uses debounce to debounceTime :

    .debounce(new Duration(milliseconds: 600))

use : .debounceTime(new Duration(milliseconds: 600))

unfortunately i dont know how to send the updated code to github, but i got it working after these changes.

goltvn avatar Jun 29 '19 15:06 goltvn