ShelfApiRouter class

Implemented types

Constructors

ShelfApiRouter(List<ApiEndpoint> children, {Response? onError(Object?)?})

Properties

hashCode int
The hash code for this object.
no setterinherited
onError → Response? Function(Object?)?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

call(Request request) FutureOr<Response>
handle(String endpoint, EndpointHandler handler) → void
override
mount(String prefix, List<ApiEndpoint> children) → void
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