sendGift method
Implementation
Future<TUIActionCallback> sendGift(Gift gift, int count) async {
final result = await giftManager.sendGift(gift, count);
if (result.code != TUIError.success) {
TUIGiftStore().onError?.call(result.code.rawValue, result.message ?? '');
return result;
}
onSendGiftCallback?.call(gift, count);
return result;
}