WebSocketState constructor

WebSocketState({
  1. required bool isConnected,
  2. bool isLoading = false,
  3. String? error,
  4. MeResponse? meResponse,
  5. CreateGroupResponse? createGroupResponse,
  6. InstantMeetingResponse? instantMeetingResponse,
  7. CallConfigResponse? callConfigResponse,
  8. DirectMessageResponse? directMessageResponse,
  9. MessageUserTypeResponse? messageUserTypingResponse,
  10. UserUpdateStatusResponse? userUpdateResponse,
  11. MessageSeenByResponse? messageSeenByResponse,
  12. MessageFileUploadResponse? fileUploadResponse,
  13. String? meetingStatus,
  14. int? attendeeJoined,
  15. String? userStatus,
  16. List<DirectMessage> chatMessages = const [],
  17. Map<int, int> groupSeenUntil = const {},
  18. Map<int, FileUploadProgress> fileUploadProgress = const {},
})

Implementation

WebSocketState({
  required this.isConnected,
  this.isLoading = false,
  this.error,
  this.meResponse,
  this.createGroupResponse,
  this.instantMeetingResponse,
  this.callConfigResponse,
  this.directMessageResponse,
  this.messageUserTypingResponse,
  this.userUpdateResponse,
  this.messageSeenByResponse,
  this.fileUploadResponse,
  this.meetingStatus,
  this.attendeeJoined,
  this.userStatus,
  this.chatMessages = const [],
  this.groupSeenUntil = const {},
  this.fileUploadProgress = const {},
});