Dart Documentationchrome.tabsOnReplacedEvent

OnReplacedEvent class

Fired when a tab is replaced with another tab due to prerendering or instant.

class OnReplacedEvent {
 final int addedTabId;

 final int removedTabId;

 OnReplacedEvent(this.addedTabId, this.removedTabId);
}

Constructors

new OnReplacedEvent(int addedTabId, int removedTabId) #

Creates a new Object instance.

Object instances have no meaningful state, and are only useful through their identity. An Object instance is equal to itself only.

docs inherited from Object
OnReplacedEvent(this.addedTabId, this.removedTabId);

Properties

final int addedTabId #

final int addedTabId

final int removedTabId #

final int removedTabId