CrateVersionRouter class
- Inheritance
-
- Object
- BaseCratesAPI
- CrateVersionRouter
Constructors
Properties
- apiRoot ↔ String
-
The base path of api (
/api/v1
)getter/setter pairinherited - applicationName ↔ String
-
This should uniquely identify your application, it ´
is recommended to follow the syntax: "my_app (my_app.com/info)".
You can read more about crates.io's Crawler policy
on https://crates.io/policies#crawlers
getter/setter pairinherited
- crate ↔ String
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- registry ↔ String
-
The domain of the crates.io registry (
crates.io
)getter/setter pairinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- version ↔ String
-
getter/setter pair
Methods
-
createClient(
) → Client -
inherited
-
dependencies(
) → Future< List< Dependency> > -
downloads(
) → Future< List< VersionDownload> > -
getJSON(
String path) → Future -
inherited
-
getURI(
String apiPath) → Uri -
inherited
-
metadata(
) → Future< Version> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
readme(
) → Future< String?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited