Cache.fromJson constructor

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

Implementation

factory Cache.fromJson(Map<String, dynamic> json) {
  return Cache(
    cacheId: CacheId.fromJson(json['cacheId'] as String),
    securityOrigin: json['securityOrigin'] as String,
    storageKey: json['storageKey'] as String,
    cacheName: json['cacheName'] as String,
  );
}