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

http_mock_adapter-0.4.4/lib/src/mixins/request_handling.dart:32:42: Error: A value of type 'FutureOr<List<int>>' can't be assigned to a variable of type 'List<int>'. #171

Open
rakashpal opened this issue Apr 2, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@rakashpal
Copy link

Description

Describe the bug.

Steps to reproduce

  1. Steps
  2. To
  3. Reproduce
  4. ...

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem.

System details

Provide brief information about the system you were using whilst the bug occurred.

Additional context

Add any other context about the problem here.

@rakashpal rakashpal added the bug Something isn't working label Apr 2, 2024
@LukaGiorgadze
Copy link
Member

Hey @rakashpal, thanks for opening an issue. Please add steps to reproduce this bug.

@seunghwanly
Copy link

seunghwanly commented Sep 19, 2024

found in 0.5.0

requestEncoder returns FutureOr<List<int>> so we need await keyword to assign to bytes.

image

fixed by #165

@LukaGiorgadze
Copy link
Member

@rakashpal Could you confirm that it has been fixed by #165 so we can close this ticket?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants