RecordedEnqueue class

Record describing an enqueued task captured by FakeStem.

Constructors

RecordedEnqueue({required String id, required String name, required Map<String, Object?> args, required Map<String, String> headers, required TaskOptions options, required DateTime? notBefore, required Map<String, Object?> meta, required DateTime enqueuedAt, TaskCall? call})
Creates a record of an enqueue operation.

Properties

args Map<String, Object?>
Serialized task arguments.
final
call TaskCall?
Optional typed call used to construct the enqueue.
final
enqueuedAt DateTime
Time the enqueue was recorded.
final
hashCode int
The hash code for this object.
no setterinherited
headers Map<String, String>
Headers attached to the enqueue.
final
id String
Generated task id.
final
meta Map<String, Object?>
Metadata attached to the enqueue.
final
name String
Task name.
final
notBefore DateTime?
Optional delay before execution.
final
options TaskOptions
Task options used for the enqueue.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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