Task.$2 constructor

Task.$2(
  1. TaskDefinition taskDefinition,
  2. String name,
  3. String source, [
  4. Object? execution,
  5. Object? problemMatchers,
])

Implementation

factory Task.$2(
  _i3.TaskDefinition taskDefinition,
  _i2.String name,
  _i2.String source, [
  _i2.Object? execution,
  _i2.Object? problemMatchers,
]) =>
    _i5.callConstructor(
      _declaredTask,
      [
        taskDefinition,
        name,
        source,
        execution ?? _i6.undefined,
        problemMatchers ?? _i6.undefined,
      ],
    );