tab trees
This commit is contained in:
@@ -16,6 +16,8 @@ class TabState extends WebPageInfo {
|
||||
@CopyWithField(immutable: true)
|
||||
final String id;
|
||||
|
||||
final String? parentId;
|
||||
|
||||
final String? contextId;
|
||||
|
||||
@override
|
||||
@@ -47,6 +49,7 @@ class TabState extends WebPageInfo {
|
||||
|
||||
TabState({
|
||||
required this.id,
|
||||
required this.parentId,
|
||||
required this.contextId,
|
||||
required super.url,
|
||||
required String title,
|
||||
@@ -64,6 +67,7 @@ class TabState extends WebPageInfo {
|
||||
|
||||
factory TabState.$default(String tabId) => TabState(
|
||||
id: tabId,
|
||||
parentId: null,
|
||||
contextId: null,
|
||||
url: Uri.parse('about:blank'),
|
||||
title: "",
|
||||
@@ -83,6 +87,7 @@ class TabState extends WebPageInfo {
|
||||
List<Object?> get hashParameters => [
|
||||
...super.hashParameters,
|
||||
id,
|
||||
parentId,
|
||||
contextId,
|
||||
icon,
|
||||
thumbnail,
|
||||
|
||||
Reference in New Issue
Block a user