JobDefinition class final

Registry entry: name → factory from JSON.

Constructors

JobDefinition(String name, Job fromJson(Map<String, Object?> json))
A job registered as name, rebuilt from its JSON by fromJson.
const

Properties

fromJson → Job Function(Map<String, Object?> json)
Rebuilds the job from the data its toJson gave.
final
hashCode → int
The hash code for this object.
no setterinherited
name → String
The name stored in the payload.
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