Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

Getting issue on using the magic link sdk 'Future' is from 'dart:async'. #65

Open
noman-hassann opened this issue Jul 15, 2024 · 0 comments

Comments

@noman-hassann
Copy link

Error: The return type of the method 'SingingBlockZipFileEncoder.close' is 'void', which does not match the return type, 'Future', of the overridden method, 'ZipFileEncoder.close'.

  • 'Future' is from 'dart:async'.
    Change to a subtype of 'Future'.
    void close() {
    ^
    ../../.pub-cache/hosted/pub.dev/archive-3.6.1/lib/src/io/zip_file_encoder.dart:235:16: Context: This is the overridden method ('close').
    Future close() async {
    ^
    Target kernel_snapshot failed: Exception

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:compileFlutterBuildDebug'.
    i am trying to implement this magic link sdk but i have tried every solution and check the sdk but still getting this error i have try it with diffrent sdks but still same error
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant