PackageDeprecationReason enum
Represents the reason why a package is deprecated.
See https://learn.microsoft.com/nuget/api/registration-base-url-resource#package-deprecation
Constructors
- PackageDeprecationReason(String value)
-
const
- PackageDeprecationReason.fromString(String value)
-
Returns the enum value from a string
value
.factory
Values
- criticalBugs → const PackageDeprecationReason
-
The package has bugs which make it unsuitable for usage.
const PackageDeprecationReason('CriticalBugs')
- legacy → const PackageDeprecationReason
-
The package is no longer maintained.
const PackageDeprecationReason('Legacy')
- other → const PackageDeprecationReason
-
The package is deprecated due to an unknown reason.
const PackageDeprecationReason('Other')
Properties
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
Constants
-
values
→ const List<
PackageDeprecationReason> - A constant List of the values in this enum, in order of their declaration.