PackageDeprecation class final
Represents information about a package's deprecation.
See https://learn.microsoft.com/nuget/api/registration-base-url-resource#package-deprecation
Constructors
-
PackageDeprecation({required List<
PackageDeprecationReason> reasons, String? message, AlternatePackage? alternatePackage}) -
const
-
PackageDeprecation.fromJson(Map<
String, dynamic> json) -
factory
Properties
- alternatePackage → AlternatePackage?
-
The alternate package that should be used instead.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String?
-
The additional details about this deprecation.
final
-
reasons
→ List<
PackageDeprecationReason> -
The reasons why the package was deprecated.
final
- 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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited