toJson method

Map<String, String> toJson()

Serializes the WebViewCookie to a Map<String, String>.

Implementation

Map<String, String> toJson() {
  return <String, String>{
    'name': name,
    'value': value,
    'domain': domain,
    'path': path
  };
}