TaskInfo class

Information about a task in the native HTTP service

Constructors

TaskInfo({required String id, required int status, required String path, required int registrationDate, Map<String, dynamic>? responseJson})
TaskInfo.fromJson(Map<String, dynamic> json)
Creates an object from JSON
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
id String
Unique task ID
final
path String
Path to the file with task data
final
registrationDate int
Task registration date in the native HTTP service (timestamp in milliseconds)
final
registrationDateTime DateTime
Gets registration date as DateTime
no setter
responseJson Map<String, dynamic>?
Response JSON (only for getResponse, optional)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status int
Task status (index in the RequestStatus enum)
final
statusEnum RequestStatus
Gets status as enum
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts the object to JSON
toString() String
A string representation of this object.
inherited

Operators

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