LocalSource class final
Source code already present in the workspace.
Use this for vendored or monorepo layouts where the source is checked out alongside the Dart package.
- Inheritance
-
- Object
- SourceSpecification
- LocalSource
Constructors
-
LocalSource({required List<
String> paths}) -
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolve(
Directory packageRoot) → Directory? -
Resolve the first existing path against
packageRoot. -
toJson(
) → Map< String, dynamic> -
Serializes this source specification to JSON.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited