Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flutter Test UnimplementedError on Timer.tick #481

Closed
blackmenthor opened this issue Oct 8, 2018 · 1 comment
Closed

Flutter Test UnimplementedError on Timer.tick #481

blackmenthor opened this issue Oct 8, 2018 · 1 comment

Comments

@blackmenthor
Copy link

blackmenthor commented Oct 8, 2018

Hi,

I see at this line, it says that Dart 2.0 requires to override the timer.tick method

throw new UnimplementedError("tick");

So how exactly to do this? does i need to supply a MockTimer as such? Or i need to implement my own Timer class?

Thanks.

@cbracken
Copy link
Member

cbracken commented Nov 5, 2019

This is a method that was added in Dart 2.0 that we haven't got around to implementing yet. The tracking bug for most of these is here:
#418

I've updated the title of that bug to more accurately reflect that this isn't restricted just to collections. I'll close this issue as a duplicate of that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants