WebSocketState constructor
WebSocketState({
- required bool isConnected,
- bool isLoading = false,
- String? error,
- MeResponse? meResponse,
- CreateGroupResponse? createGroupResponse,
- InstantMeetingResponse? instantMeetingResponse,
- CallConfigResponse? callConfigResponse,
- DirectMessageResponse? directMessageResponse,
- MessageUserTypeResponse? messageUserTypingResponse,
- UserUpdateStatusResponse? userUpdateResponse,
- MessageSeenByResponse? messageSeenByResponse,
- MessageFileUploadResponse? fileUploadResponse,
- String? meetingStatus,
- int? attendeeJoined,
- String? userStatus,
- List<
DirectMessage> chatMessages = const [], - Map<
int, int> groupSeenUntil = const {}, - 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 {},
});