ApiUtilsConfig class

Configure Api Utils behavior

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Static Properties

onErrorMiddleware List<OnError>
Add a callback function here to do whatever you want with the error information. You can add multiple or remove if you need to.
getter/setter pair
timeout Duration?
A global timeout for all requests. This can be overridden per request. Default behavior is no timeout.
getter/setter pair