ProjectFilePath class Null safety

ProjectFilePath is a reference to a file in your source project

  • The ProjectFilePath is always relative to root directory of the project directory.
  • The ProjectFilePath will always be within the project directory, that is they will never contain "../".
  • The ProjectFilePath always uses forward slashes as path separators, regardless of the host platform (also for Windows).

Example: doc/wiki/Home.md

Implementers

Constructors

ProjectFilePath(String path)

Properties

absoluteFilePath String
read-only
hashCode int
The hash code for this object. [...]
read-only, override
path String
final
relativeToLibDirectory String
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toAssetId() AssetId
toFile() File
toString() String
A string representation of this object. [...]
override
validate() → void

Operators

operator ==(Object other) bool
The equality operator. [...]
override

Static Properties

expression FluentRegex
final