ScheduledTask class
Constructors
-
ScheduledTask({required String id, required String projectId, required String roomName, required String queueName, required Map<
String, dynamic> payload, required String schedule, required bool active, required bool once, required Map<String, String> annotations, int? lastRunId, DateTime? lastStartTime, DateTime? lastEndTime, String? lastStatus, String? lastReturnMessage}) -
ScheduledTask.fromJson(Map<
String, dynamic> json) -
factory
Properties
- active → bool
-
final
-
annotations
→ Map<
String, String> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
final
- lastEndTime → DateTime?
-
final
- lastReturnMessage → String?
-
final
- lastRunId → int?
-
final
- lastStartTime → DateTime?
-
final
- lastStatus → String?
-
final
- once → bool
-
final
-
payload
→ Map<
String, dynamic> -
Server-side payload is commonly a JSON-string or opaque string.
Keep it as dynamic if you want to allow either Map or String.
final
- projectId → String
-
final
- queueName → String
-
final
- roomName → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- schedule → String
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited