DefaultDartnessRouter class Null safety

A router that can be used to handle requests.

Implemented types

Constructors

DefaultDartnessRouter()

Properties

hashCode int
The hash code for this object.
read-only, inherited
router Router
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

add(String httpMethod, String pathRoute, RouterHandler routerHandler) → void
Add a routerHandler to the _router and handles the request by the httpMethod for the pathRoute.
override
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