DbSettings class
Constructors
- DbSettings({required String username, required String password, required String dbName, required String host, required int port})
- DbSettings.load()
Properties
- dbName ↔ String
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- host ↔ String
-
getter/setter pair
- password ↔ String
-
getter/setter pair
- port ↔ int
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- useContainer ↔ bool
-
If true then we are using a docker postgres container
If false we are using a user supplied postgres daemon.
getter/setter pair
- username ↔ String
-
getter/setter pair
Methods
-
createEnvironmentVariables(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
save(
) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- defaultDbName → const String
- defaultHost → const String
- defaultPassword → const String
- defaultPort → const int
- defaultUseContainer → const bool
- defaultUsername → const String
- filePath → const String
- keyPostgresHost → const String
- keyPostgresPassword → const String
- keyPostgresPort → const String
- keyPostgresUsername → const String
- keyPSQLDbName → const String
- keyUseContainer → const String