Constructors
- PackageMeta(Directory dir, { bool useCategories: false })
- PackageMeta.fromDir(Directory dir)
-
factory
- PackageMeta.fromSdk(Directory sdkDir, { String sdkReadmePath, bool useCategories })
-
factory
Properties
- description → String
-
read-only
- dir → Directory
-
final
- homepage → String
-
read-only
- isSdk → bool
-
read-only
- isValid → bool
-
Returns true if we are a valid package, valid enough to generate docs.
read-only
- name → String
-
read-only
- needsPubGet → bool
-
read-only
- resolvedDir → String
-
read-only
- useCategories → bool
-
final
- version → String
-
read-only
- hashCode → int
-
The hash code for this object.
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
getChangelogContents(
) → FileContents -
getInvalidReasons(
) → List<String> - Returns a list of reasons this package is invalid, or an empty list if no reasons found.
-
getLicenseContents(
) → FileContents -
getReadmeContents(
) → FileContents -
runPubGet(
) → void -
toString(
) → String - Returns a string representation of this object.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
Operators
-
operator ==(
other) → bool -
The equality operator.
inherited