-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
The getter 'cookieJar' isn't defined for the type 'Dio'. #1941
Comments
What makes you think this would work? |
It was not meant to work as is, it was just a code snippet. I just wanted to get rid of the error, I mentioned. I updated the code to show you how I want to use it. Can you tell me why it does not work this way? Or what I have to do to make it work? |
Well there is just no getter or field named Or you can create an extension yourself if you require that field to be there. |
Use your declared Closing as won't fix. |
Package
dio
Version
^5.3.2
Output of
flutter doctor -v
Dart Version
3.1.0
Steps to Reproduce
This code throws an error "The getter 'cookieJar' isn't defined for the type 'Dio'.":
Expected Result
No error
Actual Result
The getter 'cookieJar' isn't defined for the type 'Dio'.
The text was updated successfully, but these errors were encountered: