TaskConfiguration constructor

TaskConfiguration({
  1. String? name,
  2. String? description,
  3. List<Measure>? measures,
})

Create a task. If name is not specified, a name is generated.

Implementation

TaskConfiguration({
  String? name,
  this.description,
  List<Measure>? measures,
}) : super() {
  this.name = name ?? 'Task #${_counter++}';
  this.measures = measures ?? [];
}