APIConfiguration class Null safety

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.
read / write
clientSecret String?
The client secret.
read / write
hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

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

Operators

operator ==(Object other) bool
The equality operator.
inherited