utils/account_config_getter library

Functions

getApiKey() Future<String>
Retrieves the API key from the storage configuration. Throws an exception if the API key is not defined.
getApiKeyWithBaseUrl() Future<Map<String, String>>
Retrieves the API key and data center URL for the account configuration.
getConfiguration() Future<Map<String, dynamic>>
Retrieves the configuration from the storage. Throws an exception if the configuration is not defined.
getDataCenterPushUrl() Future<String>
Retrieves the data center push URL from the storage configuration. Throws an exception if the data center push URL is not defined.
getDataCenterUrl() Future<String>
Retrieves the data center URL from the storage configuration. Throws an exception if the data center URL is not defined.
getDeviceInformation() Future
Retrieves the device information from the storage configuration. Throws an exception if the device information is not defined.
getLanguage() Future<String>
Retrieves the language configuration from the storage.
getSubDomain() Future<String>
Retrieves the subdomain from the storage configuration. Throws an exception if the subdomain is not defined.
getUser() Future<Map<String, dynamic>>
Retrieves the user information from storage.