toMap method

Map<String, String> toMap()

Converts this AudioDeviceInfo to a map for platform channels

Implementation

Map<String, String> toMap() {
  return {'type': type.name, 'name': name};
}