Inspector class final

Data class for inspector will used to save to local storage.

Constructors

Inspector({required String uuid, required RequestInspector request, ResponseInspector? response, required DateTime createdAt, DateTime? updatedAt})
Inspector.fromJson(String source)
Return Inspector from json string with given source.
factory
Inspector.fromMap(Map<String, dynamic> map)
Return to Inspector from Map<String, dynamic>.
factory

Properties

createdAt DateTime
The datetime created of inspector.
final
hashCode int
The hash code for this object.
no setterinherited
request RequestInspector
The request inspector will save to local storage.
final
response ResponseInspector?
The response inspector will save to local storage.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
updatedAt DateTime?
The datetime updated of inspector.
final
uuid String
The unique uuid.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
Return string json from toMap.
toMap() Map<String, dynamic>
Return to Map<String, dynamic> from Inspector data class.
toString() String
A string representation of this object.
inherited

Operators

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