RouteQueueEntry class

Constructors

RouteQueueEntry({String? path, required Map params, required NPage nPage, required ValueKey<String> pageKey, Object? groupId, Map queryParams = const {}})

Properties

attached → bool
no setterinherited
future → Future
no setterinherited
groupId → Object?
no setter
hashCode → int
The hash code for this object.
no setterinherited
id → int
no setter
isActived → bool
no setterinherited
isAlone → bool
no setterinherited
isCompleted → bool
no setterinherited
isErrorEntry → bool
no setter
isTopPage → bool
no setter
next → RouteQueueEntry?
no setterinherited
nPage → NPage
final
page → RouteQueueEntryPage?
no setter
pageKey → ValueKey<String>
no setter
params → Map
/path/to/:user => {'user': <user>}
final
path → String
no setter
popped → Future
no setterinherited
pre → RouteQueueEntry?
no setterinherited
queryParams → Map
/path/to?user=foo => {'user': 'foo'}
final
restorationId → String
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

eq(RouteQueueEntry? other) → bool
getGroup(Type t) → Object?
logPretty(int level) → (dynamic, int)
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
redirect({required Map<String, dynamic> params, required NPage page, Map<String, dynamic> queryParams = const {}, Object? groupId}) → RouteQueueEntry
redirectEntry(RouteQueueEntry entry) → RouteQueueEntry
remove([dynamic result]) → void
inherited
replace(ValueKey<String> key) → void
toJson({bool detail = false}) → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

canParse(Map? json) → bool
error({required String path, NPage? nPage, Map params = const {}, Object? groupId, Map queryParams = const {}, ValueKey<String> pageKey = const ValueKey('errorPage')}) → RouteQueueEntry
fromJson(Map json, NRouterDelegate delegate) → RouteQueueEntry
of(BuildContext context) → RouteQueueEntry?