Configuration class

Configuration for ApiClient

Constructors

Configuration({String? clientId, String? clientSecret, String? basePath, String? tokenUrl, String? accessToken})
Constructor

Properties

accessToken String?
Access token
final
basePath String
Base API path
latefinal
clientId String?
Client Id from https://dashboard.aspose.cloud/applications
final
clientSecret String?
Client Secret from https://dashboard.aspose.cloud/applications
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tokenUrl String
Token url
latefinal

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
save(String fileName) Future<void>
Save configuration to file
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

fromEnv({String prefix = ""}) → dynamic
Load configuration from environment variables
load(String fileName) Configuration?
Load configuration from file