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

Constructors

LocalSource({required List<String> paths})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
label String
A short label for logging.
no setteroverride
paths List<String>
Relative paths to search, in priority order.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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