isGiftMsg method
Implementation
bool isGiftMsg() {
if (body.type == BodyType.CUSTOM) {
return (body as CustomBody).event == ChatRoomUIKitEvent.giftEvent;
} else {
return false;
}
}
bool isGiftMsg() {
if (body.type == BodyType.CUSTOM) {
return (body as CustomBody).event == ChatRoomUIKitEvent.giftEvent;
} else {
return false;
}
}