LiveProject class

The Flutter project Metro is running in.

Constructors

LiveProject(String root, String packageName)
Creates a LiveProject rooted at root with pubspec name packageName.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
packageName → String
The pubspec name.
final
root → String
The project root directory.
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
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

load([String? root]) → LiveProject
Loads the project from the pubspec.yaml in root (the current directory by default).