toJson method

Map<String, dynamic> toJson()

Implementation

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