Secret.Item.prototype.refresh

function refresh(): void {
    // Gjs wrapper for secret_item_refresh()
}
  

Refresh the properties on this item. This fires off a request to refresh, and the properties will be updated later.

Calling this method is not normally necessary, as the secret service will notify the client when properties change.