newSongs method

Future<NewSongEntity?> newSongs({
  1. int type = 0,
  2. bool total = true,
})

新歌速递

type 全部:0 华语:7 欧美:96 日本:8 韩国:16 total 默认为true

Implementation

Future<NewSongEntity?> newSongs({int type = 0, bool total = true}) async {
  final data = {
    'areaId': type,
    'total': total,
  };
  return await BujuanMusicManager().post<NewSongEntity>(url: Api.newSongs, data: data);
}