PackageHealth class

Health facts about a hosted package, as reported by the pub.dev API.

Constructors

PackageHealth({required String name, required bool isDiscontinued, required String latestVersion, required DateTime publishedAt, String? replacedBy, String? sdkConstraint})

Properties

hashCode → int
The hash code for this object.
no setterinherited
isDiscontinued → bool
final
latestVersion → String
final
name → String
final
publishedAt → DateTime
final
replacedBy → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sdkConstraint → String?
The Dart SDK constraint of the latest release, e.g. >=3.5.0 <4.0.0.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited