Config class

A global configuration class for application-wide settings.

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

customCacheId ↔ String
A custom cache identifier string.
getter/setter pair
gbSize ↔ int
The size of one gigabyte in bytes.
getter/setter pair
ip ↔ String
The server IP address used for network requests.
getter/setter pair
logPrint ↔ bool
Controls whether log output is enabled. Can be toggled at runtime.
getter/setter pair
mbSize ↔ int
The size of one megabyte in bytes.
getter/setter pair
memoryCacheSize ↔ int
The maximum size for in-memory cache (in bytes). Default is 100MB.
getter/setter pair
port ↔ int
The server port used for network requests.
getter/setter pair
segmentSize ↔ int
The size of each data segment (in bytes) for chunked operations.
getter/setter pair
serverUrl → String
Returns the server URL in the format "ip:port".
no setter
storageCacheSize ↔ int
The maximum size for storage cache (in bytes). Default is 1GB.
getter/setter pair

Constants

isDebug → const bool
Indicates whether the app is running in debug mode.