Task constructor

Task(
  1. String type
)

Implementation

new(this.type);