APIConfiguration class Null safety
A Configuration to represent an external HTTP API.
- Inheritance
- Object
- Configuration
- APIConfiguration
Constructors
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 value) → void -
Ingests
value
into the properties of this type. [...]inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
A string representation of this object. [...]
inherited
-
validate(
) → void -
Validates this configuration. [...]
@mustCallSuper, inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited