OneTimeWorkRequest class

Defines an one-off work request.

Inheritance
Annotations

Constructors

OneTimeWorkRequest({Iterable<String>? tags, Map<String, dynamic>? input, Duration? initialDelay, WorkConstraints? constraints, BackoffCriteria? backoffCriteria})
Instantiates an OneTimeWorkRequest.
const

Properties

backoffCriteria BackoffCriteria?
Sets the backoff policy and backoff delay for the work.
finalinherited
constraints WorkConstraints?
Constraints for the work to run.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
initialDelay Duration?
The duration of initial delay of the work.
finalinherited
input Map<String, dynamic>?
Input data of the work.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tags Iterable<String>?
Tags for grouping work.
finalinherited

Methods

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

Operators

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