setChannels method

void setChannels(
  1. List<NUIMiniProgramChannel> channels
)

Setting the list of channels

Implementation

void setChannels(List<NUIMiniProgramChannel> channels){
  this._channels.clear();
  this._channels.addAll(channels);
}