ActivePackage class
A representation of a sidecar-enabled Dart package.
Requirements for activating a package:
- add
sidecar
to the list of analyzer plugins inanalysis_options.yaml
sidecar
must be a dependency of the packagesidecar.yaml
file at root directory
- Annotations
-
- @freezed
Constructors
-
ActivePackage({required Uri root, required PackageConfig packageConfig, List<
Uri> ? workspaceScope}) -
constfactory
Properties
-
copyWith
→ $ActivePackageCopyWith<
ActivePackage> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- packageConfig → PackageConfig
-
no setterinherited
- root → Uri
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
workspaceScope
→ List<
Uri> ? -
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