APIConfiguration class

A Configuration to represent an external HTTP API.

Inheritance

Constructors

APIConfiguration()
APIConfiguration.fromFile(File file)
APIConfiguration.fromMap(Map yaml)
APIConfiguration.fromString(String yaml)

Properties

baseURL ↔ String
The base URL of the described API. [...]
read / write
clientID ↔ String
The client ID. [...]
@optionalConfiguration, read / write
clientSecret ↔ String
The client secret. [...]
@optionalConfiguration, read / write
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

decode(dynamic anything) → void
Subclasses may override this method to read from something that is not a Map. [...]
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited
validate() → List<String>
Subclasses may override this method in order to validate the values of properties. [...]
inherited

Operators

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