BaseModule class Null safety

Implementers

Constructors

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

Properties

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

Methods

findRoute(String route) BaseModularRoute<PageParameters, ModularPage<PageParameters>>?
findRouteByPageType<TPageParameters extends PageParameters>(Type pageType) BaseModularRoute<TPageParameters, ModularPage<TPageParameters>>?
hasRoute(String route) bool
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 other) bool
The equality operator.
inherited