GiftListController constructor

GiftListController({
  1. required String roomId,
  2. String language = 'en',
  3. OnGiftError? onError,
})

Implementation

GiftListController({required this.roomId, this.language = 'en', OnGiftError? onError}) {
  giftManager = GiftManagerFactory.getGiftManager(roomId);
  _getGiftList();
  TUIGiftStore().onError = onError;
}