Package class
- Annotations
-
- @JsonSerializable(explicitToJson: true)
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 bool isDirectDependency}) -
const
-
Package.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
final
- description → String
-
final
- directory → Directory?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- homepage → String?
-
final
- isDirectDependency → bool
-
final
- isMarkdown → bool
-
final
- isSdk → bool
-
final
- license → String?
-
final
- name → String
-
final
- packageYaml → Map?
-
final
- repository → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- version → String
-
final
Methods
-
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