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

migrated to dart 2.12 with null-safety #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bjartebore
Copy link

In relation to #7

@bettysteger
Copy link

@bjartebore i am new to dart and flutter and everything, i am using your fork, and got this when doing enqueueWorkIntent(WorkIntent(....))

Unhandled Exception: type 'Future<dynamic>' is not a subtype of type 'Future<bool>' in type cast
#0      submitTaskRequest
package:flt_worker/…/background_tasks/background_tasks.dart:11

Does it work for you?

It uses the fork as specified in my pubspec.yaml:

  flt_worker:
    git:
      url: git://github.com/bjartebore/flt_worker.git
      ref: null_safety

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

Successfully merging this pull request may close these issues.

None yet

2 participants