APIProvider class
Constructors
- APIProvider({required NetworkConfigurable networkConfiguration, required StorageTokenProcessor storageTokenProcessor, Interceptor? interceptor})
Properties
- dio → Dio
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- interceptor ↔ Interceptor?
-
getter/setter pair
- networkConfiguration ↔ NetworkConfigurable
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- storageTokenProcessor ↔ StorageTokenProcessor
-
getter/setter pair
Methods
-
cURLRepresentation(
RequestOptions options) → String -
dioDelete(
{Uri? uri, InputServiceInterface? input}) → Future< Response> -
dioGet(
{Uri? uri, InputServiceInterface? input}) → Future< Response> -
dioPatch(
{Uri? uri, InputServiceInterface? input}) → Future< Response> -
dioPost(
{Uri? uri, InputServiceInterface? input}) → Future< Response> -
dioPut(
{Uri? uri, InputServiceInterface? input}) → Future< Response> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
request(
{required InputServiceInterface input}) → Future< Response> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited