PubDevHandler class final

Renders pub.dev package pages (/packages/<name>) from the pub.dev API instead of scraping the HTML page (ported from omp's scrapers/pub-dev.ts): metadata, score metrics, SDK constraints, dependencies, and recent versions as structured markdown.

Implemented types

Constructors

PubDevHandler()
Creates the handler.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
id → String
Handler id, used as the extraction method label.
no setteroverride
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
tryFetch(Uri uri, WebFetchContext context) → Future<WebFetchResult?>
Attempts to fetch and render uri. Returns null when this handler does not apply (different site) or extraction fails — the caller then falls through to the next handler or the generic converter.
override

Operators

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