DartConsoleFolder class

Dart console application nature.

Detected when folder has pubspec.yaml and bin/ directory but no Flutter SDK.

Inheritance

Constructors

DartConsoleFolder(FsFolder fsFolder, {required String projectName, String? version, Map<String, dynamic> dependencies = const {}, Map<String, dynamic> devDependencies = const {}, Map<String, dynamic> pubspec = const {}, List<String> executables = const []})

Properties

dependencies Map<String, dynamic>
Dependencies map from pubspec.yaml.
finalinherited
devDependencies Map<String, dynamic>
Dev dependencies map from pubspec.yaml.
finalinherited
executables List<String>
List of executable entry points in bin/.
final
fsFolder FsFolder
The underlying filesystem folder.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
isPublishable bool
Whether this package is publishable to pub.dev.
no setterinherited
name String
Folder name (basename of path).
no setterinherited
path String
Absolute path to the folder.
no setterinherited
projectName String
Project name from pubspec.yaml.
finalinherited
pubspec Map<String, dynamic>
Raw pubspec content as parsed YAML.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
version String?
Version from pubspec.yaml.
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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