getAllGenres method

Future<List<String>> getAllGenres()

Get all the genres in the Apple Music library.

Implementation

Future<List<String>> getAllGenres() async {
  final result = await playerChannel.invokeMethod('getAllGenres');
  return List<String>.from(result);
}