PluginEntry class

Constructors

PluginEntry({required String name, required String version, required String? published, required int? downloadCount30Days, required int? likeCount, required SwiftPmInfo swiftpm, required AlignmentInfo alignment, required AndroidInfo android, required List<String> errors, List<String> search = const []})
const
PluginEntry.fromJson(Map<String, dynamic> json)
swiftpm/alignment/android are null in the JSON for a plugin whose checks couldn't run (SPEC §3.1.2-3: "never omitted" but null on failure) — parsed here as an all-null sentinel rather than a missing key, since errors (checked first by every grading function) is always non-empty whenever they're null.
factory

Properties

alignment → AlignmentInfo
final
android → AndroidInfo
final
downloadCount30Days → int?
final
errors → List<String>
final
hashCode → int
The hash code for this object.
no setterinherited
likeCount → int?
final
name → String
final
pubDevUrl → String
no setter
published → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
Which pub.dev search(es) surfaced this plugin (SPEC §3.1.1), e.g. ["no-swiftpm", "top-downloads"]. Empty for snapshots taken before this field existed.
final
swiftpm → SwiftPmInfo
final
version → String
final

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