toMap method
Converts this object to a platform-channel map.
Implementation
Map<String, Object?> toMap() => <String, Object?>{
'source': source.name,
'enableAutomaticGainControl': enableAutomaticGainControl,
'enableEchoCancellation': enableEchoCancellation,
'enableNoiseSuppression': enableNoiseSuppression,
'allowBluetoothSco': allowBluetoothSco,
'bitDepth': bitDepth,
'bufferSize': bufferSize,
};