DIONetworkService class
- Inheritance
-
- Object
- NetworkService
- DIONetworkService
Constructors
- DIONetworkService.new({required NetworkConfiguration config})
Properties
- config → NetworkConfiguration
-
finalinherited
- dioClient → Dio
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
checkInternetConnection(
) → Future< bool> -
delete<
T extends Entity> (RequestApi api) → Future< Result< NetworkFailure, NetworkResponseModel< >T> > -
override
-
get<
T extends Entity> (RequestApi api) → Future< Result< NetworkFailure, NetworkResponseModel< >T> > -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
patch<
T extends Entity> (RequestApi api) → Future< Result< NetworkFailure, NetworkResponseModel< >T> > -
override
-
post<
T extends Entity> (RequestApi api) → Future< Result< NetworkFailure, NetworkResponseModel< >T> > -
override
-
put<
T extends Entity> (RequestApi api) → Future< Result< NetworkFailure, NetworkResponseModel< >T> > -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited