getActiveList static method

dynamic getActiveList(
  1. bool viewType,
  2. dynamic onSuccess,
  3. dynamic onError
)

Implementation

static getActiveList(bool viewType,onSuccess,onError){
  if (viewType) {
    getLiveActiveList(onSuccess, onError);
  } else {
    getGameActiveList(onSuccess, onError);
  }
}