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
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