Cache.fromJson constructor
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,
storageBucket: json.containsKey('storageBucket')
? storage.StorageBucket.fromJson(
json['storageBucket'] as Map<String, dynamic>)
: null,
cacheName: json['cacheName'] as String,
);
}