DriverConfig class
Constructors
-
DriverConfig({required String type, required Map<
String, Object?> options}) -
Creates a driver descriptor with a
type(e.g.,sqlite) andoptions. -
DriverConfig.fromMap(Map<
String, Object?> map) -
Builds a config from a decoded YAML map.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
options
→ Map<
String, Object?> -
Arbitrary key/value pairs that flow into a
DatabaseConfig.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → String
-
The driver identifier that
ormed_cliandConnectionManagerconsume.final
Methods
-
copyWith(
{String? type, Map< String, Object?> ? options}) → DriverConfig - Creates a copy with optional overrides.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
option(
String key) → String? - Retrieves a typed option value.
-
toMap(
) → Map< String, Object?> - Serializes the driver block back to a map for regeneration.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited