BackgroundJobRun class

Model for a single execution run of a background job.

Constructors

BackgroundJobRun({required String id, required String jobId, required String executionId, required String triggerType, required String status, required DateTime startedAt, DateTime? completedAt, int? durationMs, String? errorMessage, dynamic result, required DateTime createdAt})
const
BackgroundJobRun.fromJson(Map<String, dynamic> json)
factory

Properties

completedAt → DateTime?
final
createdAt → DateTime
final
durationMs → int?
final
errorMessage → String?
final
executionId → String
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
final
isError → bool
no setter
isRunning → bool
no setter
isSuccess → bool
no setter
jobId → String
final
result → dynamic
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
startedAt → DateTime
final
status → String
final
triggerType → String
final

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