mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2024-11-11 03:03:18 +00:00
844 lines
18 KiB
Dart
844 lines
18 KiB
Dart
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
// **************************************************************************
|
|
// AutoRouterGenerator
|
|
// **************************************************************************
|
|
|
|
// ignore_for_file: type=lint
|
|
// coverage:ignore-file
|
|
|
|
part of 'router.dart';
|
|
|
|
/// generated route for
|
|
/// [AboutApplicationPage]
|
|
class AboutApplicationRoute extends PageRouteInfo<void> {
|
|
const AboutApplicationRoute({List<PageRouteInfo>? children})
|
|
: super(
|
|
AboutApplicationRoute.name,
|
|
initialChildren: children,
|
|
);
|
|
|
|
static const String name = 'AboutApplicationRoute';
|
|
|
|
static PageInfo page = PageInfo(
|
|
name,
|
|
builder: (data) {
|
|
return const AboutApplicationPage();
|
|
},
|
|
);
|
|
}
|
|
|
|
/// generated route for
|
|
/// [AddServerProviderTokenPage]
|
|
class AddServerProviderTokenRoute
|
|
extends PageRouteInfo<AddServerProviderTokenRouteArgs> {
|
|
AddServerProviderTokenRoute({
|
|
required Server server,
|
|
Key? key,
|
|
List<PageRouteInfo>? children,
|
|
}) : super(
|
|
AddServerProviderTokenRoute.name,
|
|
args: AddServerProviderTokenRouteArgs(
|
|
server: server,
|
|
key: key,
|
|
),
|
|
initialChildren: children,
|
|
);
|
|
|
|
static const String name = 'AddServerProviderTokenRoute';
|
|
|
|
static PageInfo page = PageInfo(
|
|
name,
|
|
builder: (data) {
|
|
final args = data.argsAs<AddServerProviderTokenRouteArgs>();
|
|
return AddServerProviderTokenPage(
|
|
server: args.server,
|
|
key: args.key,
|
|
);
|
|
},
|
|
);
|
|
}
|
|
|
|
class AddServerProviderTokenRouteArgs {
|
|
const AddServerProviderTokenRouteArgs({
|
|
required this.server,
|
|
this.key,
|
|
});
|
|
|
|
final Server server;
|
|
|
|
final Key? key;
|
|
|
|
@override
|
|
String toString() {
|
|
return 'AddServerProviderTokenRouteArgs{server: $server, key: $key}';
|
|
}
|
|
}
|
|
|
|
/// generated route for
|
|
/// [AppSettingsPage]
|
|
class AppSettingsRoute extends PageRouteInfo<void> {
|
|
const AppSettingsRoute({List<PageRouteInfo>? children})
|
|
: super(
|
|
AppSettingsRoute.name,
|
|
initialChildren: children,
|
|
);
|
|
|
|
static const String name = 'AppSettingsRoute';
|
|
|
|
static PageInfo page = PageInfo(
|
|
name,
|
|
builder: (data) {
|
|
return const AppSettingsPage();
|
|
},
|
|
);
|
|
}
|
|
|
|
/// generated route for
|
|
/// [BackupDetailsPage]
|
|
class BackupDetailsRoute extends PageRouteInfo<void> {
|
|
const BackupDetailsRoute({List<PageRouteInfo>? children})
|
|
: super(
|
|
BackupDetailsRoute.name,
|
|
initialChildren: children,
|
|
);
|
|
|
|
static const String name = 'BackupDetailsRoute';
|
|
|
|
static PageInfo page = PageInfo(
|
|
name,
|
|
builder: (data) {
|
|
return const BackupDetailsPage();
|
|
},
|
|
);
|
|
}
|
|
|
|
/// generated route for
|
|
/// [BackupsListPage]
|
|
class BackupsListRoute extends PageRouteInfo<BackupsListRouteArgs> {
|
|
BackupsListRoute({
|
|
required Service? service,
|
|
Key? key,
|
|
List<PageRouteInfo>? children,
|
|
}) : super(
|
|
BackupsListRoute.name,
|
|
args: BackupsListRouteArgs(
|
|
service: service,
|
|
key: key,
|
|
),
|
|
initialChildren: children,
|
|
);
|
|
|
|
static const String name = 'BackupsListRoute';
|
|
|
|
static PageInfo page = PageInfo(
|
|
name,
|
|
builder: (data) {
|
|
final args = data.argsAs<BackupsListRouteArgs>();
|
|
return BackupsListPage(
|
|
service: args.service,
|
|
key: args.key,
|
|
);
|
|
},
|
|
);
|
|
}
|
|
|
|
class BackupsListRouteArgs {
|
|
const BackupsListRouteArgs({
|
|
required this.service,
|
|
this.key,
|
|
});
|
|
|
|
final Service? service;
|
|
|
|
final Key? key;
|
|
|
|
@override
|
|
String toString() {
|
|
return 'BackupsListRouteArgs{service: $service, key: $key}';
|
|
}
|
|
}
|
|
|
|
/// generated route for
|
|
/// [ConsolePage]
|
|
class ConsoleRoute extends PageRouteInfo<void> {
|
|
const ConsoleRoute({List<PageRouteInfo>? children})
|
|
: super(
|
|
ConsoleRoute.name,
|
|
initialChildren: children,
|
|
);
|
|
|
|
static const String name = 'ConsoleRoute';
|
|
|
|
static PageInfo page = PageInfo(
|
|
name,
|
|
builder: (data) {
|
|
return const ConsolePage();
|
|
},
|
|
);
|
|
}
|
|
|
|
/// generated route for
|
|
/// [DeveloperSettingsPage]
|
|
class DeveloperSettingsRoute extends PageRouteInfo<void> {
|
|
const DeveloperSettingsRoute({List<PageRouteInfo>? children})
|
|
: super(
|
|
DeveloperSettingsRoute.name,
|
|
initialChildren: children,
|
|
);
|
|
|
|
static const String name = 'DeveloperSettingsRoute';
|
|
|
|
static PageInfo page = PageInfo(
|
|
name,
|
|
builder: (data) {
|
|
return const DeveloperSettingsPage();
|
|
},
|
|
);
|
|
}
|
|
|
|
/// generated route for
|
|
/// [DevicesScreen]
|
|
class DevicesRoute extends PageRouteInfo<void> {
|
|
const DevicesRoute({List<PageRouteInfo>? children})
|
|
: super(
|
|
DevicesRoute.name,
|
|
initialChildren: children,
|
|
);
|
|
|
|
static const String name = 'DevicesRoute';
|
|
|
|
static PageInfo page = PageInfo(
|
|
name,
|
|
builder: (data) {
|
|
return const DevicesScreen();
|
|
},
|
|
);
|
|
}
|
|
|
|
/// generated route for
|
|
/// [DnsDetailsPage]
|
|
class DnsDetailsRoute extends PageRouteInfo<void> {
|
|
const DnsDetailsRoute({List<PageRouteInfo>? children})
|
|
: super(
|
|
DnsDetailsRoute.name,
|
|
initialChildren: children,
|
|
);
|
|
|
|
static const String name = 'DnsDetailsRoute';
|
|
|
|
static PageInfo page = PageInfo(
|
|
name,
|
|
builder: (data) {
|
|
return const DnsDetailsPage();
|
|
},
|
|
);
|
|
}
|
|
|
|
/// generated route for
|
|
/// [ExtendingVolumePage]
|
|
class ExtendingVolumeRoute extends PageRouteInfo<ExtendingVolumeRouteArgs> {
|
|
ExtendingVolumeRoute({
|
|
required DiskVolume diskVolumeToResize,
|
|
required DiskStatus diskStatus,
|
|
Key? key,
|
|
List<PageRouteInfo>? children,
|
|
}) : super(
|
|
ExtendingVolumeRoute.name,
|
|
args: ExtendingVolumeRouteArgs(
|
|
diskVolumeToResize: diskVolumeToResize,
|
|
diskStatus: diskStatus,
|
|
key: key,
|
|
),
|
|
initialChildren: children,
|
|
);
|
|
|
|
static const String name = 'ExtendingVolumeRoute';
|
|
|
|
static PageInfo page = PageInfo(
|
|
name,
|
|
builder: (data) {
|
|
final args = data.argsAs<ExtendingVolumeRouteArgs>();
|
|
return ExtendingVolumePage(
|
|
diskVolumeToResize: args.diskVolumeToResize,
|
|
diskStatus: args.diskStatus,
|
|
key: args.key,
|
|
);
|
|
},
|
|
);
|
|
}
|
|
|
|
class ExtendingVolumeRouteArgs {
|
|
const ExtendingVolumeRouteArgs({
|
|
required this.diskVolumeToResize,
|
|
required this.diskStatus,
|
|
this.key,
|
|
});
|
|
|
|
final DiskVolume diskVolumeToResize;
|
|
|
|
final DiskStatus diskStatus;
|
|
|
|
final Key? key;
|
|
|
|
@override
|
|
String toString() {
|
|
return 'ExtendingVolumeRouteArgs{diskVolumeToResize: $diskVolumeToResize, diskStatus: $diskStatus, key: $key}';
|
|
}
|
|
}
|
|
|
|
/// generated route for
|
|
/// [InitializingPage]
|
|
class InitializingRoute extends PageRouteInfo<void> {
|
|
const InitializingRoute({List<PageRouteInfo>? children})
|
|
: super(
|
|
InitializingRoute.name,
|
|
initialChildren: children,
|
|
);
|
|
|
|
static const String name = 'InitializingRoute';
|
|
|
|
static PageInfo page = PageInfo(
|
|
name,
|
|
builder: (data) {
|
|
return const InitializingPage();
|
|
},
|
|
);
|
|
}
|
|
|
|
/// generated route for
|
|
/// [MemoryUsageByServiceScreen]
|
|
class MemoryUsageByServiceRoute extends PageRouteInfo<void> {
|
|
const MemoryUsageByServiceRoute({List<PageRouteInfo>? children})
|
|
: super(
|
|
MemoryUsageByServiceRoute.name,
|
|
initialChildren: children,
|
|
);
|
|
|
|
static const String name = 'MemoryUsageByServiceRoute';
|
|
|
|
static PageInfo page = PageInfo(
|
|
name,
|
|
builder: (data) {
|
|
return const MemoryUsageByServiceScreen();
|
|
},
|
|
);
|
|
}
|
|
|
|
/// generated route for
|
|
/// [MorePage]
|
|
class MoreRoute extends PageRouteInfo<void> {
|
|
const MoreRoute({List<PageRouteInfo>? children})
|
|
: super(
|
|
MoreRoute.name,
|
|
initialChildren: children,
|
|
);
|
|
|
|
static const String name = 'MoreRoute';
|
|
|
|
static PageInfo page = PageInfo(
|
|
name,
|
|
builder: (data) {
|
|
return const MorePage();
|
|
},
|
|
);
|
|
}
|
|
|
|
/// generated route for
|
|
/// [NewUserPage]
|
|
class NewUserRoute extends PageRouteInfo<void> {
|
|
const NewUserRoute({List<PageRouteInfo>? children})
|
|
: super(
|
|
NewUserRoute.name,
|
|
initialChildren: children,
|
|
);
|
|
|
|
static const String name = 'NewUserRoute';
|
|
|
|
static PageInfo page = PageInfo(
|
|
name,
|
|
builder: (data) {
|
|
return const NewUserPage();
|
|
},
|
|
);
|
|
}
|
|
|
|
/// generated route for
|
|
/// [OnboardingPage]
|
|
class OnboardingRoute extends PageRouteInfo<void> {
|
|
const OnboardingRoute({List<PageRouteInfo>? children})
|
|
: super(
|
|
OnboardingRoute.name,
|
|
initialChildren: children,
|
|
);
|
|
|
|
static const String name = 'OnboardingRoute';
|
|
|
|
static PageInfo page = PageInfo(
|
|
name,
|
|
builder: (data) {
|
|
return const OnboardingPage();
|
|
},
|
|
);
|
|
}
|
|
|
|
/// generated route for
|
|
/// [ProvidersPage]
|
|
class ProvidersRoute extends PageRouteInfo<void> {
|
|
const ProvidersRoute({List<PageRouteInfo>? children})
|
|
: super(
|
|
ProvidersRoute.name,
|
|
initialChildren: children,
|
|
);
|
|
|
|
static const String name = 'ProvidersRoute';
|
|
|
|
static PageInfo page = PageInfo(
|
|
name,
|
|
builder: (data) {
|
|
return const ProvidersPage();
|
|
},
|
|
);
|
|
}
|
|
|
|
/// generated route for
|
|
/// [RecoveryKeyPage]
|
|
class RecoveryKeyRoute extends PageRouteInfo<void> {
|
|
const RecoveryKeyRoute({List<PageRouteInfo>? children})
|
|
: super(
|
|
RecoveryKeyRoute.name,
|
|
initialChildren: children,
|
|
);
|
|
|
|
static const String name = 'RecoveryKeyRoute';
|
|
|
|
static PageInfo page = PageInfo(
|
|
name,
|
|
builder: (data) {
|
|
return const RecoveryKeyPage();
|
|
},
|
|
);
|
|
}
|
|
|
|
/// generated route for
|
|
/// [RecoveryRouting]
|
|
class RecoveryRoute extends PageRouteInfo<void> {
|
|
const RecoveryRoute({List<PageRouteInfo>? children})
|
|
: super(
|
|
RecoveryRoute.name,
|
|
initialChildren: children,
|
|
);
|
|
|
|
static const String name = 'RecoveryRoute';
|
|
|
|
static PageInfo page = PageInfo(
|
|
name,
|
|
builder: (data) {
|
|
return const RecoveryRouting();
|
|
},
|
|
);
|
|
}
|
|
|
|
/// generated route for
|
|
/// [RootPage]
|
|
class RootRoute extends PageRouteInfo<void> {
|
|
const RootRoute({List<PageRouteInfo>? children})
|
|
: super(
|
|
RootRoute.name,
|
|
initialChildren: children,
|
|
);
|
|
|
|
static const String name = 'RootRoute';
|
|
|
|
static PageInfo page = PageInfo(
|
|
name,
|
|
builder: (data) {
|
|
return WrappedRoute(child: const RootPage());
|
|
},
|
|
);
|
|
}
|
|
|
|
/// generated route for
|
|
/// [ServerDetailsScreen]
|
|
class ServerDetailsRoute extends PageRouteInfo<void> {
|
|
const ServerDetailsRoute({List<PageRouteInfo>? children})
|
|
: super(
|
|
ServerDetailsRoute.name,
|
|
initialChildren: children,
|
|
);
|
|
|
|
static const String name = 'ServerDetailsRoute';
|
|
|
|
static PageInfo page = PageInfo(
|
|
name,
|
|
builder: (data) {
|
|
return const ServerDetailsScreen();
|
|
},
|
|
);
|
|
}
|
|
|
|
/// generated route for
|
|
/// [ServerLogsScreen]
|
|
class ServerLogsRoute extends PageRouteInfo<ServerLogsRouteArgs> {
|
|
ServerLogsRoute({
|
|
String? serviceId,
|
|
Key? key,
|
|
List<PageRouteInfo>? children,
|
|
}) : super(
|
|
ServerLogsRoute.name,
|
|
args: ServerLogsRouteArgs(
|
|
serviceId: serviceId,
|
|
key: key,
|
|
),
|
|
initialChildren: children,
|
|
);
|
|
|
|
static const String name = 'ServerLogsRoute';
|
|
|
|
static PageInfo page = PageInfo(
|
|
name,
|
|
builder: (data) {
|
|
final args = data.argsAs<ServerLogsRouteArgs>(
|
|
orElse: () => const ServerLogsRouteArgs());
|
|
return ServerLogsScreen(
|
|
serviceId: args.serviceId,
|
|
key: args.key,
|
|
);
|
|
},
|
|
);
|
|
}
|
|
|
|
class ServerLogsRouteArgs {
|
|
const ServerLogsRouteArgs({
|
|
this.serviceId,
|
|
this.key,
|
|
});
|
|
|
|
final String? serviceId;
|
|
|
|
final Key? key;
|
|
|
|
@override
|
|
String toString() {
|
|
return 'ServerLogsRouteArgs{serviceId: $serviceId, key: $key}';
|
|
}
|
|
}
|
|
|
|
/// generated route for
|
|
/// [ServerSettingsScreen]
|
|
class ServerSettingsRoute extends PageRouteInfo<void> {
|
|
const ServerSettingsRoute({List<PageRouteInfo>? children})
|
|
: super(
|
|
ServerSettingsRoute.name,
|
|
initialChildren: children,
|
|
);
|
|
|
|
static const String name = 'ServerSettingsRoute';
|
|
|
|
static PageInfo page = PageInfo(
|
|
name,
|
|
builder: (data) {
|
|
return const ServerSettingsScreen();
|
|
},
|
|
);
|
|
}
|
|
|
|
/// generated route for
|
|
/// [ServerStoragePage]
|
|
class ServerStorageRoute extends PageRouteInfo<ServerStorageRouteArgs> {
|
|
ServerStorageRoute({
|
|
required DiskStatus diskStatus,
|
|
Key? key,
|
|
List<PageRouteInfo>? children,
|
|
}) : super(
|
|
ServerStorageRoute.name,
|
|
args: ServerStorageRouteArgs(
|
|
diskStatus: diskStatus,
|
|
key: key,
|
|
),
|
|
initialChildren: children,
|
|
);
|
|
|
|
static const String name = 'ServerStorageRoute';
|
|
|
|
static PageInfo page = PageInfo(
|
|
name,
|
|
builder: (data) {
|
|
final args = data.argsAs<ServerStorageRouteArgs>();
|
|
return ServerStoragePage(
|
|
diskStatus: args.diskStatus,
|
|
key: args.key,
|
|
);
|
|
},
|
|
);
|
|
}
|
|
|
|
class ServerStorageRouteArgs {
|
|
const ServerStorageRouteArgs({
|
|
required this.diskStatus,
|
|
this.key,
|
|
});
|
|
|
|
final DiskStatus diskStatus;
|
|
|
|
final Key? key;
|
|
|
|
@override
|
|
String toString() {
|
|
return 'ServerStorageRouteArgs{diskStatus: $diskStatus, key: $key}';
|
|
}
|
|
}
|
|
|
|
/// generated route for
|
|
/// [ServicePage]
|
|
class ServiceRoute extends PageRouteInfo<ServiceRouteArgs> {
|
|
ServiceRoute({
|
|
required String serviceId,
|
|
Key? key,
|
|
List<PageRouteInfo>? children,
|
|
}) : super(
|
|
ServiceRoute.name,
|
|
args: ServiceRouteArgs(
|
|
serviceId: serviceId,
|
|
key: key,
|
|
),
|
|
initialChildren: children,
|
|
);
|
|
|
|
static const String name = 'ServiceRoute';
|
|
|
|
static PageInfo page = PageInfo(
|
|
name,
|
|
builder: (data) {
|
|
final args = data.argsAs<ServiceRouteArgs>();
|
|
return ServicePage(
|
|
serviceId: args.serviceId,
|
|
key: args.key,
|
|
);
|
|
},
|
|
);
|
|
}
|
|
|
|
class ServiceRouteArgs {
|
|
const ServiceRouteArgs({
|
|
required this.serviceId,
|
|
this.key,
|
|
});
|
|
|
|
final String serviceId;
|
|
|
|
final Key? key;
|
|
|
|
@override
|
|
String toString() {
|
|
return 'ServiceRouteArgs{serviceId: $serviceId, key: $key}';
|
|
}
|
|
}
|
|
|
|
/// generated route for
|
|
/// [ServiceSettingsPage]
|
|
class ServiceSettingsRoute extends PageRouteInfo<ServiceSettingsRouteArgs> {
|
|
ServiceSettingsRoute({
|
|
required String serviceId,
|
|
Key? key,
|
|
List<PageRouteInfo>? children,
|
|
}) : super(
|
|
ServiceSettingsRoute.name,
|
|
args: ServiceSettingsRouteArgs(
|
|
serviceId: serviceId,
|
|
key: key,
|
|
),
|
|
initialChildren: children,
|
|
);
|
|
|
|
static const String name = 'ServiceSettingsRoute';
|
|
|
|
static PageInfo page = PageInfo(
|
|
name,
|
|
builder: (data) {
|
|
final args = data.argsAs<ServiceSettingsRouteArgs>();
|
|
return ServiceSettingsPage(
|
|
serviceId: args.serviceId,
|
|
key: args.key,
|
|
);
|
|
},
|
|
);
|
|
}
|
|
|
|
class ServiceSettingsRouteArgs {
|
|
const ServiceSettingsRouteArgs({
|
|
required this.serviceId,
|
|
this.key,
|
|
});
|
|
|
|
final String serviceId;
|
|
|
|
final Key? key;
|
|
|
|
@override
|
|
String toString() {
|
|
return 'ServiceSettingsRouteArgs{serviceId: $serviceId, key: $key}';
|
|
}
|
|
}
|
|
|
|
/// generated route for
|
|
/// [ServicesMigrationPage]
|
|
class ServicesMigrationRoute extends PageRouteInfo<ServicesMigrationRouteArgs> {
|
|
ServicesMigrationRoute({
|
|
required List<Service> services,
|
|
required DiskStatus diskStatus,
|
|
required bool isMigration,
|
|
Key? key,
|
|
List<PageRouteInfo>? children,
|
|
}) : super(
|
|
ServicesMigrationRoute.name,
|
|
args: ServicesMigrationRouteArgs(
|
|
services: services,
|
|
diskStatus: diskStatus,
|
|
isMigration: isMigration,
|
|
key: key,
|
|
),
|
|
initialChildren: children,
|
|
);
|
|
|
|
static const String name = 'ServicesMigrationRoute';
|
|
|
|
static PageInfo page = PageInfo(
|
|
name,
|
|
builder: (data) {
|
|
final args = data.argsAs<ServicesMigrationRouteArgs>();
|
|
return ServicesMigrationPage(
|
|
services: args.services,
|
|
diskStatus: args.diskStatus,
|
|
isMigration: args.isMigration,
|
|
key: args.key,
|
|
);
|
|
},
|
|
);
|
|
}
|
|
|
|
class ServicesMigrationRouteArgs {
|
|
const ServicesMigrationRouteArgs({
|
|
required this.services,
|
|
required this.diskStatus,
|
|
required this.isMigration,
|
|
this.key,
|
|
});
|
|
|
|
final List<Service> services;
|
|
|
|
final DiskStatus diskStatus;
|
|
|
|
final bool isMigration;
|
|
|
|
final Key? key;
|
|
|
|
@override
|
|
String toString() {
|
|
return 'ServicesMigrationRouteArgs{services: $services, diskStatus: $diskStatus, isMigration: $isMigration, key: $key}';
|
|
}
|
|
}
|
|
|
|
/// generated route for
|
|
/// [ServicesPage]
|
|
class ServicesRoute extends PageRouteInfo<void> {
|
|
const ServicesRoute({List<PageRouteInfo>? children})
|
|
: super(
|
|
ServicesRoute.name,
|
|
initialChildren: children,
|
|
);
|
|
|
|
static const String name = 'ServicesRoute';
|
|
|
|
static PageInfo page = PageInfo(
|
|
name,
|
|
builder: (data) {
|
|
return const ServicesPage();
|
|
},
|
|
);
|
|
}
|
|
|
|
/// generated route for
|
|
/// [TokensPage]
|
|
class TokensRoute extends PageRouteInfo<void> {
|
|
const TokensRoute({List<PageRouteInfo>? children})
|
|
: super(
|
|
TokensRoute.name,
|
|
initialChildren: children,
|
|
);
|
|
|
|
static const String name = 'TokensRoute';
|
|
|
|
static PageInfo page = PageInfo(
|
|
name,
|
|
builder: (data) {
|
|
return const TokensPage();
|
|
},
|
|
);
|
|
}
|
|
|
|
/// generated route for
|
|
/// [UserDetailsPage]
|
|
class UserDetailsRoute extends PageRouteInfo<UserDetailsRouteArgs> {
|
|
UserDetailsRoute({
|
|
required String login,
|
|
Key? key,
|
|
List<PageRouteInfo>? children,
|
|
}) : super(
|
|
UserDetailsRoute.name,
|
|
args: UserDetailsRouteArgs(
|
|
login: login,
|
|
key: key,
|
|
),
|
|
initialChildren: children,
|
|
);
|
|
|
|
static const String name = 'UserDetailsRoute';
|
|
|
|
static PageInfo page = PageInfo(
|
|
name,
|
|
builder: (data) {
|
|
final args = data.argsAs<UserDetailsRouteArgs>();
|
|
return UserDetailsPage(
|
|
login: args.login,
|
|
key: args.key,
|
|
);
|
|
},
|
|
);
|
|
}
|
|
|
|
class UserDetailsRouteArgs {
|
|
const UserDetailsRouteArgs({
|
|
required this.login,
|
|
this.key,
|
|
});
|
|
|
|
final String login;
|
|
|
|
final Key? key;
|
|
|
|
@override
|
|
String toString() {
|
|
return 'UserDetailsRouteArgs{login: $login, key: $key}';
|
|
}
|
|
}
|
|
|
|
/// generated route for
|
|
/// [UsersPage]
|
|
class UsersRoute extends PageRouteInfo<void> {
|
|
const UsersRoute({List<PageRouteInfo>? children})
|
|
: super(
|
|
UsersRoute.name,
|
|
initialChildren: children,
|
|
);
|
|
|
|
static const String name = 'UsersRoute';
|
|
|
|
static PageInfo page = PageInfo(
|
|
name,
|
|
builder: (data) {
|
|
return const UsersPage();
|
|
},
|
|
);
|
|
}
|