HttpInteraction class
Constructors
- HttpInteraction({required int id, Uri? uri, String? method, HttpRequest? request, HttpResponse? response, HttpError? error})
- Creates a HttpInteraction.
Properties
- duration → Duration?
-
no setter
- durationColor → MaterialColor
-
no setter
- error ↔ HttpError?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- id ↔ int
-
getter/setter pair
- method ↔ String?
-
getter/setter pair
- request ↔ HttpRequest?
-
getter/setter pair
- response ↔ HttpResponse?
-
getter/setter pair
- responseTime → DateTime?
-
Returns either the HttpResponse.time or the HttpError.time.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- statusColor → MaterialColor
-
no setter
- uri ↔ Uri?
-
getter/setter pair
Methods
-
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.
override
Static Methods
-
getDurationColor(
Duration? duration) → MaterialColor -
getStatusColor(
int? statusCode) → MaterialColor