MapRouteDefinition class

Defines routes in a map format

Implemented types

Constructors

MapRouteDefinition({required Map<String, RouteWidgetBuilder> routeMap, RouteBuilder? routeBuilder})

Properties

builder RouteWidgetBuilder
This is the builder for the content
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
routeBuilder RouteBuilder?
This is an optional RouteBuilder
getter/setter pairoverride
routeMap Map<String, RouteWidgetBuilder>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

matches(RouteSettings settings) bool
If this route definition matches a RouteSettings object
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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