JobDefinitionBase class abstract interface

Untyped registration surface used by RoutedJobs for heterogeneous jobs.

Properties

hashCode → int
The hash code for this object.
no setterinherited
name → String
The stable transport name for the job.
no setter
options → JobOptions
Default job options.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

encodeUntyped(Object? args) → Map<String, Object?>
Whether the definition can encode the given typed arguments.
invoke(JobContext context, Map<String, Object?> args) → Future<Object?>
Invokes the typed job after decoding its durable argument map.
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