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

返回的result ,在拿json里面数据的时候会报type '_InternalLinkedHashMap<dynamic, dynamic>' is not a subtype of type 'String' #1

Open
k3v1n-uncle opened this issue Jul 20, 2018 · 2 comments

Comments

@k3v1n-uncle
Copy link

No description provided.

@seanbruce
Copy link

取出数据,我是这么做的:
LinkedHashMap result = await FlutterAlipay.pay(orderStr);
Map<String, dynamic> resultMap = result.cast<String, dynamic>();
可以先把resultMap打印出来看看返回来的数据结构是怎么样的

@jzoom
Copy link
Member

jzoom commented Aug 14, 2018

这个需要修改下,改成强类型的,map毕竟还是不方便

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

No branches or pull requests

3 participants