ApiLogModel class
Model for API log entries (request/response).
Extends DevLogModel and adds method, url, headers, body, statusCode, timings, and memoryUsage.
- Inheritance
-
- Object
- DevLogModel
- ApiLogModel
- Annotations
-
- @HiveType(typeId: 2)
Constructors
Properties
- body → dynamic
-
final
- content → String
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
headers
→ Map<
String, dynamic> -
final
- heading → String
-
finalinherited
- id → String
-
finalinherited
- memoryUsage → int?
-
final
- method → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- statusCode → int?
-
final
- timestamp → DateTime
-
finalinherited
- timings → int?
-
final
- type → String
-
finalinherited
- url → String
-
final
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.
inherited