getDriver method
Gets the driver configuration
driverName The driver name to retrieve
Returns the driver configuration or an empty map if not set
Implementation
@override
Map<String, dynamic> getDriver(String driverName) {
final config = _getAuthConfig();
final drivers = config['drivers'] as Map<String, dynamic>?;
if (drivers == null) {
return {};
}
final driver = drivers[driverName];
if (driver is Map<String, dynamic>) {
return driver;
}
return {};
}