WebSocketState class

Constructors

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 {}})

Properties

attendeeJoined int?
final
callConfigResponse CallConfigResponse?
final
chatMessages List<DirectMessage>
final
createGroupResponse CreateGroupResponse?
final
directMessageResponse DirectMessageResponse?
final
error String?
final
fileUploadProgress Map<int, FileUploadProgress>
final
fileUploadResponse MessageFileUploadResponse?
final
groupSeenUntil Map<int, int>
final
hashCode int
The hash code for this object.
no setterinherited
instantMeetingResponse InstantMeetingResponse?
final
isConnected bool
final
isLoading bool
final
meetingStatus String?
final
meResponse MeResponse?
final
messageSeenByResponse MessageSeenByResponse?
final
messageUserTypingResponse MessageUserTypeResponse?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
userStatus String?
final
userUpdateResponse UserUpdateStatusResponse?
final

Methods

copyWith({bool? isConnected, bool? isLoading, String? error, MeResponse? meResponse, CreateGroupResponse? createGroupResponse, InstantMeetingResponse? instantMeetingResponse, CallConfigResponse? callConfigResponse, DirectMessageResponse? directMessageResponse, CallEndResponse? callEndResponse, UserUpdateStatusResponse? userUpdateResponse, MessageUserTypeResponse? messageUserTypingResponse, MessageSeenByResponse? messageSeenByResponse, MessageFileUploadResponse? fileUploadResponse, String? meetingStatus, int? attendeeJoined, String? userStatus, bool preserveUserStatus = true, List<DirectMessage>? chatMessages, Map<int, int>? groupSeenUntil, Map<int, FileUploadProgress>? fileUploadProgress}) WebSocketState
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited