ChatEvent.createAndSendMessage constructor

const ChatEvent.createAndSendMessage({
  1. required BuildContext context,
  2. required String message,
  3. required int userId,
  4. required Function onSuccess,
})

Implementation

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