Skip to content

Conversation

jngbng
Copy link
Contributor

@jngbng jngbng commented Jun 3, 2018

from dart2, getCookies throws type conversion error.
Refer to https://stackoverflow.com/questions/49824167/breaking-exception-internallinkedhashmapdynamic-dynamic-is-not-a-subtype-o

And is there any reason that return type of getCookies is Map<String, dynamic> instead of Map<String, String>?

@lejard-h
Copy link
Collaborator

Thanks for PR,

Indeed, it should be Map<String, String>, can you do the change ?

@lejard-h lejard-h merged commit e65a45d into fluttercommunity:master Jul 26, 2018
charafau pushed a commit that referenced this pull request Apr 7, 2020
handle type error in getCookies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants