name property

String name

Get the name of this device.

SDL Docs

Implementation

String get name => sdl.sdl
    .SDL_GetAudioDeviceName(index, sdl.boolToValue(isCapture))
    .cast<Utf8>()
    .toDartString();