toMap method
Converts this AudioDeviceInfo to a map for platform channels
Implementation
Map<String, String> toMap() {
return {'type': type.name, 'name': name};
}
Converts this AudioDeviceInfo to a map for platform channels
Map<String, String> toMap() {
return {'type': type.name, 'name': name};
}