AppTask constructor
AppTask({})
Create an app task that notifies the app when it is triggered.
name
is a unique name of the task.
measures
is the list of measures to be collected in the background when
this app task is started.
type
provide a unique type for this kind of app task.
Implementation
AppTask({
super.name,
super.measures,
required this.type,
this.title = '',
super.description = '',
this.instructions = '',
this.minutesToComplete,
this.expire,
this.notification = false,
});