OnMessageSendCallback typedef
OnMessageSendCallback =
void Function(String text)
Callback signature for when the user attempts to send a message.
Provides the text entered by the user.
Implementation
typedef OnMessageSendCallback = void Function(String text);