WaConfigs class
A class representing configuration settings for the web application.
The WaConfigs class provides a comprehensive configuration setup for various aspects of the web application, including paths, server settings, database configuration, and more. It uses environment variables and default values to initialize its properties.
Constructors
-
WaConfigs({String version = '1.0.0', String? appPath, String? dbPath, String? backupPath, String? widgetsPath, String? languagePath, int port = 8080, int portSocket = 8083, int portNginx = 80, String ip = '0.0.0.0', String dbName = "database_name", bool noStop = true, String serverName = "webserver", String pathFilemanager = '/upload/filemanager', String? publicDir, String? domain, String? domainScheme, int? domainPort, WaDBConfig? dbConfig, String widgetsType = 'html', int fakeDelay = 0, List<
String> ? languages, String mailDefault = "example@uproid.com", String mailHost = "smtp.zoho.eu", String blockStart = '<?', String blockEnd = "?>", String variableStart = "<?=", String variableEnd = "?>", String commentStart = '<?#', String commentEnd = '?>', String cookiePassword = "password"}) - Creates an instance of WaConfigs.
Properties
- appPath ↔ String
-
latefinal
- backupPath ↔ String
-
latefinal
- blockEnd ↔ String
-
latefinal
- blockStart ↔ String
-
latefinal
- commentEnd ↔ String
-
latefinal
- commentStart ↔ String
-
latefinal
-
latefinal
- dbConfig ↔ WaDBConfig
-
latefinal
- dbName → String
-
final
- dbPath ↔ String
-
latefinal
- domain ↔ String
-
DOMAIN CONFIG
latefinal
- domainPort ↔ int
-
latefinal
- domainScheme ↔ String
-
latefinal
- fakeDelay ↔ int
-
latefinal
- hashCode → int
-
The hash code for this object.
no setterinherited
- ip → String
-
final
- isLocalDebug → bool
-
no setter
- languagePath ↔ String
-
latefinal
-
languages
↔ List<
String> -
latefinal
- mailDefault ↔ String
-
latefinal
- mailHost ↔ String
-
latefinal
- noStop → bool
-
final
- pathFilemanager → String
-
final
- port → int
-
final
- portNginx → int
-
final
- portSocket → int
-
final
- publicDir ↔ String
-
latefinal
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- serverName → String
-
final
- uri ↔ Uri
-
latefinal
- variableEnd ↔ String
-
latefinal
- variableStart ↔ String
-
latefinal
- version → String
-
final
- widgetsPath ↔ String
-
latefinal
- widgetsType ↔ String
-
latefinal
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
url(
{String? path}) → String
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited