Package class
- Inheritance
-
- Object
- ProjectDependencies
- Package
Constructors
-
Package({Directory? directory, Map? packageYaml, required String name, required String description, String? homepage, String? repository, required List<
String> authors, required String version, String? license, required bool isMarkdown, required bool isSdk, required List<Package> dependencies}) -
const
-
Package.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
final
-
dependencies
→ List<
Package> -
finalinherited
- description → String
-
final
- directory → Directory?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- homepage → String?
-
final
- isMarkdown → bool
-
final
- isSdk → bool
-
final
- license → String?
-
final
- name → String
-
final
- packageYaml → Map?
-
final
- pubspecLockPath → String?
-
no setter
- pubspecYamlPath → String?
-
no setter
- repository → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- version → String
-
final
Methods
-
getFilePath(
String name) → String? -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited