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 ab88250 + 8add0d6 commit fa774c3Copy full SHA for fa774c3
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