copyWith method
Creates a copy with optional overrides.
Implementation
DriverConfig copyWith({String? type, Map<String, Object?>? options}) {
return DriverConfig(
type: type ?? this.type,
options: options ?? Map<String, Object?>.from(this.options),
);
}