setPubRootDirectories method Null safety

  1. @protected
  2. @Deprecated('Use addPubRootDirectories instead. ' 'This feature was deprecated after v3.1.0-9.0.pre.')
void setPubRootDirectories(
  1. List<String> pubRootDirectories
)
@Deprecated('Use addPubRootDirectories instead. ' 'This feature was deprecated after v3.1.0-9.0.pre.'), @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 from widgets created from inside the framework or other packages.

Implementation

@protected
@Deprecated(
  'Use addPubRootDirectories instead. '
  'This feature was deprecated after v3.1.0-9.0.pre.',
)
void setPubRootDirectories(List<String> pubRootDirectories) {
  addPubRootDirectories(pubRootDirectories);
}