closeReplyMessageView static method
Implementation
static void closeReplyMessageView(BuildContext context) {
final state = context.findAncestorStateOfType<_ChatViewState>();
assert(
state != null,
'ChatViewState not found. Make sure to use correct context that contains the ChatViewState',
);
state?.replyMessageViewClose();
}