Builds a config from a decoded YAML map.
factory DriverConfig.fromMap(Map<String, Object?> map) => DriverConfig( type: map['type']?.toString() ?? '', options: _normalizeOptions(map['options']), );