flutter_alipay icon indicating copy to clipboard operation
flutter_alipay copied to clipboard

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

Open k3v1n-uncle opened this issue 6 years ago • 2 comments

k3v1n-uncle avatar Jul 20 '18 09:07 k3v1n-uncle

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

seanbruce avatar Jul 26 '18 08:07 seanbruce

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

jzoom avatar Aug 14 '18 14:08 jzoom