RootModule class Null safety

Inheritance

Constructors

RootModule({FutureOr<bool> guard(ModularHistory<PageParameters, ModularPage<PageParameters>> route, ModularRouterDelegate delegate)?})
const

Properties

guard → (FutureOr<bool> Function(ModularHistory<PageParameters, ModularPage<PageParameters>> route, ModularRouterDelegate delegate)?)
finalinherited
hashCode int
The hash code for this object.
read-onlyoverride
homeRoute BaseModularRoute<PageParameters, ModularPage<PageParameters>>
read-only
initialRoute BaseModularRoute<PageParameters, ModularPage<PageParameters>>
read-only
notFoundRoute BaseModularRoute<PageParameters, ModularPage<PageParameters>>
read-only
route String
read-onlyoverride
routes Iterable<BaseModularRoute<PageParameters, ModularPage<PageParameters>>>
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
subModules Iterable<BaseModule>
read-onlyinherited

Methods

findRoute(String route) BaseModularRoute<PageParameters, ModularPage<PageParameters>>?
inherited
findRouteByPageType<TPageParameters extends PageParameters>(Type pageType) BaseModularRoute<TPageParameters, ModularPage<TPageParameters>>?
inherited
hasRoute(String route) bool
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object o) bool
The equality operator.
override