loadCookies method
Implementation
@override
Future<List<Cookie>?> loadCookies({
required String url,
}) async {
final List<String>? cookies = await methodChannel.invokeListMethod<String>(
'loadCookies',
<String, dynamic>{
'url': url,
},
);
return cookies?.map((String cookie) {
return Cookie.fromSetCookieValue(cookie);
}).toList();
}