ConnectionConfig class
Represents a connection definition in connections.yml.
Constructors
-
ConnectionConfig({required String name, Map<
String, dynamic> attributes = const {}}) -
const
- ConnectionConfig.fromYaml(Map yaml)
-
factory
Properties
-
attributes
→ Map<
String, dynamic> -
final
- database → String?
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- host → String?
-
no setter
- idleTimeout → int
-
no setter
- maxConnections → int
-
no setter
- minConnections → int
-
no setter
- name → String
-
final
- password → String?
-
no setter
- port → int?
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- username → String?
-
no setter
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 Methods
-
load(
String path) → Future< List< ConnectionConfig> > -
parse(
String content) → List< ConnectionConfig>