getTracks method

Future<List<String>> getTracks()

Gets org.mpris.MediaPlayer2.TrackList.Tracks

Implementation

Future<List<String>> getTracks() async {
  var value = await getProperty('org.mpris.MediaPlayer2.TrackList', 'Tracks',
      signature: DBusSignature('ao'));
  return value.asObjectPathArray().toList();
}