CometChatCallDetails class
Structured call details extracted from a CometChat call payload.
Used by CometChatCallHandler and passed to custom call screen builders.
Constructors
- CometChatCallDetails({required String sessionId, required String callerUid, required String callerName, String? callerAvatar, required CometChatCallType callType, required CometChatReceiverType receiverType, required String conversationId, required bool isVideo})
-
Creates a CometChatCallDetails instance.
const
- CometChatCallDetails.fromNotificationDetails(CometChatNotificationDetails details)
-
Creates CometChatCallDetails from CometChatNotificationDetails.
factory
Properties
- callerAvatar → String?
-
The avatar URL of the caller, if available.
final
- callerName → String
-
The display name of the caller.
final
- callerUid → String
-
The UID of the caller.
final
- callType → CometChatCallType
-
The call type (audio or video).
final
- conversationId → String
-
The conversation identifier.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isVideo → bool
-
Whether this is a video call.
final
- receiverType → CometChatReceiverType
-
The receiver type (user or group).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sessionId → String
-
The unique call session ID.
final
Methods
-
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