ChatResponseDto constructor

const ChatResponseDto({
  1. required int id,
  2. required String chatRoomName,
  3. required bool isWithMyself,
  4. required ChatResponseDtoChatInterlocutor chatInterlocutor,
  5. required ChatResponseDtoLastChatMessage lastChatMessage,
  6. required ChatResponseDtoChatMessage chatMessage,
})

Implementation

const factory ChatResponseDto({
  required int id,
  required String chatRoomName,
  required bool isWithMyself,
  required ChatResponseDtoChatInterlocutor chatInterlocutor,
  required ChatResponseDtoLastChatMessage lastChatMessage,
  required ChatResponseDtoChatMessage chatMessage,
}) = _ChatResponseDto;