Config class

Configuration of this application.

Constructors

Config()

Properties

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

Static Properties

appcast String
URL of a Sparkle Appcast XML file.
getter/setter pair
appStoreUrl String
URL of the application entry in App Store.
getter/setter pair
clsid String
Unique identifier of Windows application.
getter/setter pair
commonVersion int
Schema version of the CommonDatabase.
getter/setter pair
Optional copyright to display at the bottom of Routes.auth page.
getter/setter pair
disableDragArea bool
Indicator whether all DropRegions should be disabled.
getter/setter pair
disableInfiniteAnimations bool
Indicator whether all looped animations should be disabled.
getter/setter pair
downloadable bool
Indicator whether download links should be present within application.
getter/setter pair
downloads String
Directory to download files to.
getter/setter pair
files String
File storage HTTP URL.
getter/setter pair
geoEndpoint String
URL address of IP geolocation API server.
getter/setter pair
googlePlayUrl String
URL of the application entry in Google Play.
getter/setter pair
graphql String
GraphQL API endpoint of HTTP backend server.
getter/setter pair
ipEndpoint String
URL address of IP address discovering API server.
getter/setter pair
ChatDirectLink prefix.
getter/setter pair
logLevel LogLevel
Level of Logger to log.
getter/setter pair
origin String
Domain considered as an origin of the application.
getter/setter pair
port int
Backend's HTTP port.
getter/setter pair
repository String
URL of the repository (or anything else) for users to report bugs to.
getter/setter pair
scheme String
Custom URL scheme to associate the application with when opening the deep links.
getter/setter pair
scopedVersion int
Schema version of the ScopedDatabase.
getter/setter pair
sentryDsn String
Sentry DSN (Data Source Name) to send errors to.
getter/setter pair
support String
Email address of the support service displayed on the Routes.support page.
getter/setter pair
url String
Backend's HTTP URL.
getter/setter pair
userAgentProduct String
Product identifier of User-Agent header to put in network queries.
getter/setter pair
userAgentVersion String
Version identifier of User-Agent header to put in network queries.
getter/setter pair
vapidKey String
VAPID (Voluntary Application Server Identification) key for Web Push.
getter/setter pair
version String?
Version of the application, used to clear cache if mismatch is detected.
getter/setter pair
ws String
Backend's WebSocket URL.
getter/setter pair

Static Methods

init() Future<void>
Initializes this Config by applying values from the following sources (in the following order):