CookiePartitionKey.fromJson constructor

CookiePartitionKey.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory CookiePartitionKey.fromJson(Map<String, dynamic> json) {
  return CookiePartitionKey(
    topLevelSite: json['topLevelSite'] as String,
    hasCrossSiteAncestor: json['hasCrossSiteAncestor'] as bool? ?? false,
  );
}