Skip to content

Object cannot be assigned to the parameter type Map<dynamic, dynamic> #989

@PcolBP

Description

@PcolBP

Describe the bug
After newest version 2.3.0 I cannot build my web application, had to force downgrade it to 2.2.0 since Supabase uses automatically 2.3.0

To Reproduce
Build Web Application

Expected behavior

Error: The argument type 'Object' can't be assigned to the parameter type 'Map<dynamic, dynamic>'.
 - 'Object' is from 'dart:core'.
 - 'Map' is from 'dart:core'.
        bodyStr = await _isolate.encode(body);

Version (please complete the following information):
On Linux/macOS
Please run dart pub deps | grep -E "supabase|gotrue|postgrest|storage_client|realtime_client|functions_client" in your project directory and paste the output here.

dart pub deps | grep -E "supabase|gotrue|postgrest|storage_client|realtime_client|functions_client"
│   ├── functions_client 2.2.0
│   ├── supabase_flutter 2.5.1
│   │   ├── supabase 2.2.5
│   │   │   ├── functions_client...
│   │   │   ├── gotrue 2.8.3
│   │   │   ├── postgrest 2.1.2
│   │   │   ├── realtime_client 2.2.0
│   │   │   ├── storage_client 2.0.2

Additional context
Flutter Doctor

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.22.3, on macOS 14.5 23F79 darwin-arm64 (Rosetta), locale pl-PL)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2024.1)
[✓] VS Code (version 1.91.1)
[✓] Connected device (4 available)
[✓] Network resources

• No issues found!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfunctionsThis issue or pull request is related to functions

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions