Skill3Environment class

Where the API is. Read from wherever the app keeps its settings (the library never reads .env itself).

Constructors

Skill3Environment({String? apiUrl, List<String> apiUrls = const [], String? apiUrlSystem, Map<String, String> customApiUrl = const {}, String? defaultDomain, Skill3RequestDefaults authDomainOption = const Skill3RequestDefaults(), Skill3RequestDefaults authUserOption = const Skill3RequestDefaults()})
const

Properties

apiUrl → String?
Default base URL. Falls back to https://digioneapi.com.
final
apiUrls → List<String>
Extra base URLs picked by apiNumber (1-based).
final
apiUrlSystem → String?
Base URL for "system" calls (auth, refresh, domain).
final
authDomainOption → Skill3RequestDefaults
Used by authDomain and the renewal when no include / query is given.
final
authUserOption → Skill3RequestDefaults
Used by sign in and updateUser when no include / query is given.
final
customApiUrl → Map<String, String>
Base URL per module name, e.g. {'land': 'https://land.example.com'}.
final
defaultDomain → String?
Domain sent to domains/auth when the site token has to be renewed. Without it the site token is not renewed automatically.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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