ChatCubit constructor

ChatCubit(
  1. ChatApi _chatApi, {
  2. required int roomId,
  3. required int myId,
  4. int defaultChatPageSize = kDefaultPageSize,
})

Implementation

ChatCubit(
  this._chatApi, {
  required this.roomId,
  required this.myId,
  this.defaultChatPageSize = kDefaultPageSize,
}) : super(ChatState(roomId: roomId));