A ConfigurationItem to represent an external HTTP API.

Inheritance

Constructors

APIConfiguration()

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

Operators

operator ==(other) → bool

The equality operator.

inherited

Methods

decode(anything) → void

Subclasses may override this method to read from something that is not a Map.

inherited
noSuchMethod(Invocation i) → dynamic

Invoked when a non-existent method or property is accessed.

inherited
readFromMap(Map<String, dynamic> items) → void

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