toJson method
Implementation
Map<String, dynamic> toJson() {
return {
'cacheId': cacheId.toJson(),
'securityOrigin': securityOrigin,
'storageKey': storageKey,
'cacheName': cacheName,
if (storageBucket != null) 'storageBucket': storageBucket!.toJson(),
};
}