Create a new task which can run in the background.
BackgroundTask({ super.name, super.description, super.measures, this.duration, });