NetworkService class abstract

Implementers

Constructors

NetworkService.new({required NetworkConfiguration config})

Properties

config NetworkConfiguration
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

delete<T extends Entity>(RequestApi api) Future<Result<NetworkFailure, NetworkResponseModel<T>>>
get<T extends Entity>(RequestApi api) Future<Result<NetworkFailure, NetworkResponseModel<T>>>
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>>>
post<T extends Entity>(RequestApi api) Future<Result<NetworkFailure, NetworkResponseModel<T>>>
put<T extends Entity>(RequestApi api) Future<Result<NetworkFailure, NetworkResponseModel<T>>>
toString() String
A string representation of this object.
inherited

Operators

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