topArtist method

Future<TopArtistEntity?> topArtist({
  1. int limit = 30,
  2. int offset = 0,
  3. dynamic total = true,
})

热门歌手

limit 30 offset 0 total true,

Implementation

Future<TopArtistEntity?> topArtist(
    {int limit = 30, int offset = 0, total = true}) async {
  final data = {'limit': limit, 'offset': offset, 'total': total};
  return await BujuanMusicManager().post<TopArtistEntity>(
      url: Api.topArtist, options: createOption(), data: data);
}