ChatCall class

Call in a Chat.

Inheritance
Available extensions
Annotations

Constructors

ChatCall(ChatItemId id, ChatId chatId, User author, PreciseDateTime at, {required List<ChatCallMember> members, required bool withVideo, PreciseDateTime? conversationStartedAt, int? finishReasonIndex, PreciseDateTime? finishedAt, ChatMembersDialed? dialed})
ChatCall.fromJson(Map<String, dynamic> json)
Constructs a ChatCall from the provided json.
factory

Properties

at PreciseDateTime
PreciseDateTime when this ChatItem was posted.
getter/setter pairinherited
author User
User who posted this ChatItem.
finalinherited
chatId ChatId
ID of the Chat this ChatItem was posted in.
getter/setter pairinherited
conversationStartedAt PreciseDateTime?
PreciseDateTime when the actual conversation in this ChatCall was started (after ringing had been finished).
getter/setter pair
dialed ChatMembersDialed?
ChatMembers being dialed by this ChatCall at the moment.
getter/setter pair
finishedAt PreciseDateTime?
PreciseDateTime when this ChatCall was finished.
getter/setter pair
finishReason ChatCallFinishReason?
Returns the ChatCallFinishReason this ChatCall finished with, if any.
getter/setter pair
finishReasonIndex int?
Reason of why this ChatCall was finished.
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
id ChatItemId
Unique ID of this ChatItem.
finalinherited
key ChatItemKey
Returns combined at and id unique identifier of this ChatItem.
no setterinherited
members List<ChatCallMember>
ChatCallMembers of this ChatCall.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status Rx<SendingStatus>
SendingStatus of this ChatItem.
finalinherited
withVideo bool
Indicator whether this ChatCall is intended to start with video.
final

Methods

isEditable(Chat chat, UserId me) bool

Available on ChatItem, provided by the IsChatItemEditable extension

Indicates whether this ChatItem is editable.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Returns a Map representing this ChatCall.
override
toString() String
A string representation of this object.
inherited

Operators

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