Depends class

An annotation to define a Task's dependencies.

Each listed dependency can be either a:

  • link to a Function which is also annotated as a Task. Useful for rename refactoring, finding uses, etc.
  • String. Useful for referring to programmatically added tasks.
  • TaskInvocation. Useful for passing args to dependencies.

Constructors

Depends(dynamic dep1, [dynamic dep2, dynamic dep3, dynamic dep4, dynamic dep5, dynamic dep6, dynamic dep7, dynamic dep8])
const

Properties

dep1 → dynamic
final
dep2 → dynamic
final
dep3 → dynamic
final
dep4 → dynamic
final
dep5 → dynamic
final
dep6 → dynamic
final
dep7 → dynamic
final
dep8 → dynamic
final
depends List
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited