A utility class for managing local storage of this package.
This class is used to store downloaded NuGet packages locally. The packages are stored in the user's local app data directory, under a subdirectory named directoryName.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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 Properties
Static Methods
-
clear(
) → void - Deletes the contents of the local storage directory.
-
getPackage(
String packageName, {String? version}) → NuGetPackage? -
Looks for a package with the given
packageName
andversion
.
Constants
- directoryName → const String
- The name of the local storage directory.