apiGetFollowVoteGameOrders static method
dynamic
apiGetFollowVoteGameOrders(
- dynamic dict,
- dynamic callBack, {
- dynamic onError()?,
跟投-直播间
Implementation
static apiGetFollowVoteGameOrders(dict, callBack, {Function(ErrorEntity)? onError}) {
DioManager().request<dynamic>(RequestType.POST, RequestApi.apiGetFollowVoteGameOrders,
params: dict,
onSuccess: (data) {
GameFollowVoteModel voteModel = GameFollowVoteModel.fromJson(data);
callBack(voteModel);
},
onError: onError,
onStart: () {
// onStart
},
onFinish: () {
// onFinish
});
}