TF-2134 Add mailto page router

(cherry picked from commit d2d3acf255e5b616d55ae379cf1f79f6cc098639)
This commit is contained in:
dab246
2023-09-12 02:16:36 +07:00
committed by Dat Vu
parent c4b9caab3f
commit b645c6ae1a
4 changed files with 29 additions and 8 deletions
+15 -2
View File
@@ -14,14 +14,27 @@ class NavigationRouter with EquatableMixin {
final MailboxId? mailboxId;
final DashboardType dashboardType;
final SearchQuery? searchQuery;
final String? routeName;
final String? emailAddress;
NavigationRouter({
this.emailId,
this.mailboxId,
this.searchQuery,
this.dashboardType = DashboardType.normal
this.dashboardType = DashboardType.normal,
this.routeName,
this.emailAddress,
});
factory NavigationRouter.initial() => NavigationRouter();
@override
List<Object?> get props => [emailId, mailboxId, searchQuery, dashboardType];
List<Object?> get props => [
emailId,
mailboxId,
searchQuery,
dashboardType,
routeName,
emailAddress,
];
}