APIRouteConfig class

An API route config.

Constructors

APIRouteConfig({bool log = true, bool slowCall = false})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
log → bool
If true logs calls to the route.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
slowCall → bool
If true marks the route as a slow call, and won't warn if the call response is slow.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

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

Constants

defaultConfig → const APIRouteConfig