apiAnchorMobileAndSecretKey static method

dynamic apiAnchorMobileAndSecretKey(
  1. dynamic callBack
)

获取主播虚拟账号数据

Implementation

static apiAnchorMobileAndSecretKey(callBack) {
  DioManager().request<dynamic>(
      RequestType.POST, RequestApi.apiAnchorMobileAndSecretKey, params: {},
      onSuccess: (data) {
    // onSuccess
    callBack(data);
  }, onError: (error) {
    // when called , already show toast, then do another things
  }, onStart: () {
    // onStart
  }, onFinish: () {
    // onFinish
  });
}