sendGift method

Future<TUIActionCallback> sendGift(
  1. Gift gift,
  2. int count
)

Implementation

Future<TUIActionCallback> sendGift(Gift gift, int count) async {
  final handler = await _giftStore.sendGift(giftID: gift.giftID, count: count);
  return TUIActionCallback(code: TUIError.fromRawValue(handler.errorCode), message: handler.errorMessage);
}