DriverConfig.fromMap constructor

DriverConfig.fromMap(
  1. Map<String, Object?> map
)

Builds a config from a decoded YAML map.

Implementation

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