Task class

A unit of scheduled work.

Constructors

Task({AppEngineHttpRequest? appEngineHttpRequest, String? createTime, int? dispatchCount, String? dispatchDeadline, Attempt? firstAttempt, HttpRequest? httpRequest, Attempt? lastAttempt, String? name, int? responseCount, String? scheduleTime, String? view})
Task.fromJson(Map json_)

Properties

appEngineHttpRequest AppEngineHttpRequest?
HTTP request that is sent to the App Engine app handler.
getter/setter pair
createTime String?
The time that the task was created.
getter/setter pair
dispatchCount int?
The number of attempts dispatched.
getter/setter pair
dispatchDeadline String?
The deadline for requests sent to the worker.
getter/setter pair
firstAttempt Attempt?
The status of the task's first attempt.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
httpRequest HttpRequest?
HTTP request that is sent to the worker.
getter/setter pair
lastAttempt Attempt?
The status of the task's last attempt.
getter/setter pair
name String?
Optionally caller-specified in CreateTask.
getter/setter pair
responseCount int?
The number of attempts which have received a response.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scheduleTime String?
The time when the task is scheduled to be attempted or retried.
getter/setter pair
view String?
The view specifies which subset of the Task has been returned.
getter/setter pair

Methods

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

Operators

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