setPubRootDirectories method

  1. @protected
void setPubRootDirectories (List<Object> pubRootDirectories)
@protected

Set the list of directories that should be considered part of the local project.

The local project directories are used to distinguish widgets created by the local project over widgets created from inside the framework.

Implementation

@protected
void setPubRootDirectories(List<Object> pubRootDirectories) {
  _pubRootDirectories = pubRootDirectories.map<String>(
    (Object directory) => Uri.parse(directory).path,
  ).toList();
}