addSource abstract method

void addSource(
  1. DartSource source
)

Add a unit source to the list of additional sources which will be compiled alongside the packages specified in compile.

Implementation

void addSource(DartSource source);