HulkRepository class abstract

Constructors

HulkRepository({InterceptorSendCallback? requestInterceptor, InterceptorSuccessCallback? responseInterceptor, InterceptorErrorCallback? errorInterceptor})

Properties

baseURL String
no setter
hashCode int
The hash code for this object.
no setterinherited
httpClient ↔ Dio
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addInterceptors({InterceptorSendCallback? requestInterceptor, InterceptorSuccessCallback? responseInterceptor, InterceptorErrorCallback? errorInterceptor}) → dynamic
createUri(String path) String
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
responseMap<T>(Response response) → T
responseMapToList<T extends HulkModel>(dynamic T, Response response) List<T>
responseMapToModel<T extends HulkModel>(dynamic T, Response response) → T
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

errorInterceptor ↔ InterceptorErrorCallback?
getter/setter pair
instances → dynamic
no setter
requestInterceptor ↔ InterceptorSendCallback?
getter/setter pair
responseInterceptor ↔ InterceptorSuccessCallback?
getter/setter pair