NetworkEvent<R, T> class
Constructors
-
NetworkEvent({required NetworkRequest<
R> request, required InterceptorType type, NetworkResponse<T> ? response, NetworkError<T> ? error})
Properties
-
error
→ NetworkError<
T> ? -
no setter
- getcURL → String
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
request
→ NetworkRequest<
R> -
final
- requestTime → DateTime
-
final
-
response
→ NetworkResponse<
T> ? -
no setter
- responseTime → DateTime?
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
setError
← NetworkError<
T> -
no getter
-
setResponse
← NetworkResponse<
T> -
no getter
- status → NetworkRequestStatus
-
no setter
- statusText → String
-
no setter
- statusTextColor → Color
-
no setter
- type → InterceptorType
-
final
Methods
-
cURLFromDio(
RequestOptions requestOptions) → String -
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