ChromeSessions class
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isAvailable → bool
-
no setter
- maxSessionResults → int
-
The maximum number of sessions.Session that will be included in a
requested list.
no setter
-
onChanged
→ EventStream<
void> -
Fired when recently closed tabs and/or windows are changed. This event
does not monitor synced sessions changes.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getDevices(
Filter? filter) → Future< List< Device> > - Retrieves all devices with synced sessions.
-
getRecentlyClosed(
Filter? filter) → Future< List< Session> > - Gets the list of recently closed tabs and/or windows.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
restore(
String? sessionId) → Future< Session> -
Reopens a windows.Window or tabs.Tab, with an optional callback to run
when the entry has been restored.
sessionId
The windows.Window.sessionId, or tabs.Tab.sessionId to restore. If this parameter is not specified, the most recently closed session is restored. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited