EventDetail

external fun EventDetail(key: String, value: String): EventDetail

Creates an EventDetail instance with the specified key and value.

This function provides a convenient way to construct EventDetail objects for storage change notifications in the browser environment.

Return

An EventDetail instance containing the provided key-value pair.

Parameters

key

The storage key that was modified.

value

The new value associated with the key.