ChatEvent.createAndSendMessage constructor
const
ChatEvent.createAndSendMessage({
- required BuildContext context,
- required String message,
- required int userId,
- required Function onSuccess,
Implementation
const factory ChatEvent.createAndSendMessage(
{required BuildContext context,
required String message,
required int userId,
required Function onSuccess}) = CreateAndSendMessage;