BackgroundServiceDefinition class

Background service definition

Constructors

BackgroundServiceDefinition.new({required String id, required BackgroundServiceType type, required String tool, Map<String, dynamic>? params, int? interval, String? schedule, List<String>? events, String? event, Map<String, dynamic>? constraints, bool runInBackground = true, String priority = 'normal', String? resultPath, bool? retryOnError, int? retryDelay, bool? stopOnError})
BackgroundServiceDefinition.fromJson(String id, Map<String, dynamic> json)
factory

Properties

constraints Map<String, dynamic>?
final
event String?
final
events List<String>?
final
hashCode int
The hash code for this object.
no setterinherited
id String
final
interval int?
final
params Map<String, dynamic>?
final
priority String
final
resultPath String?
final
retryDelay int?
final
retryOnError bool?
final
runInBackground bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
schedule String?
final
stopOnError bool?
final
tool String
final
type → BackgroundServiceType
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