Skip to content
This repository was archived by the owner on Sep 4, 2024. It is now read-only.
This repository was 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

@noman-hassann

Description

@noman-hassann

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions