We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c5a35fd + de00f98 commit e65a45dCopy full SHA for e65a45d
lib/src/base.dart
@@ -155,9 +155,9 @@ class FlutterWebviewPlugin {
155
_instance = null;
156
}
157
158
- Future<Map<String, dynamic>> getCookies() async {
+ Future<Map<String, String>> getCookies() async {
159
final cookiesString = await evalJavascript("document.cookie");
160
- final cookies = {};
+ final cookies = <String, String>{};
161
162
if (cookiesString?.isNotEmpty == true) {
163
cookiesString.split(";").forEach((String cookie) {
0 commit comments