VideoEvent class

Constructors

VideoEvent.new({UserResponse? blockedByUser, required String callCid, required DateTime createdAt, String type = 'user.updated', required UserEventPayload user, required CallResponse call, List<MemberResponse> members = const [], required String hlsPlaylistUrl, Map<String, List<String>> capabilitiesByRole = const {}, required bool notifyUser, required String sessionId, required ReactionResponse reaction, required CallRecording callRecording, String? reason, required bool video, required String name, required int anonymousParticipantCount, Map<String, int> participantsCountByRole = const {}, required CallParticipantResponse participant, required int durationSeconds, required CallTranscription callTranscription, required String fromUserId, List<String> mutedUserIds = const [], required CallClosedCaption closedCaption, required String connectionId, required OwnUserResponse me, required APIError error, Map<String, Object> custom = const {}, String? cid, DateTime? receivedAt, List<String> permissions = const [], List<OwnCapability> ownCapabilities = const []})
Returns a new VideoEvent instance.

Properties

anonymousParticipantCount int
getter/setter pair
blockedByUser UserResponse?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
call CallResponse
getter/setter pair
callCid String
getter/setter pair
callRecording CallRecording
getter/setter pair
callTranscription CallTranscription
getter/setter pair
capabilitiesByRole Map<String, List<String>>
The capabilities by role for this call
getter/setter pair
cid String?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
closedCaption CallClosedCaption
getter/setter pair
connectionId String
getter/setter pair
createdAt DateTime
getter/setter pair
custom Map<String, Object>
Custom data for this object
getter/setter pair
durationSeconds int
The duration participant was in the session in seconds
getter/setter pair
error APIError
getter/setter pair
fromUserId String
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
hlsPlaylistUrl String
getter/setter pair
me OwnUserResponse
getter/setter pair
members List<MemberResponse>
Call members
getter/setter pair
mutedUserIds List<String>
getter/setter pair
name String
Name of the given RTMP broadcast
getter/setter pair
notifyUser bool
getter/setter pair
ownCapabilities List<OwnCapability>
The capabilities of the current user
getter/setter pair
participant CallParticipantResponse
getter/setter pair
participantsCountByRole Map<String, int>
getter/setter pair
permissions List<String>
The list of permissions requested by the user
getter/setter pair
reaction ReactionResponse
getter/setter pair
reason String?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
receivedAt DateTime?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sessionId String
Call session ID
getter/setter pair
type String
getter/setter pair
user UserEventPayload
getter/setter pair
video bool
getter/setter pair

Methods

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

Operators

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

Static Methods

fromJson(dynamic value) VideoEvent?
Returns a new VideoEvent instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) List<VideoEvent>
mapFromJson(dynamic json) Map<String, VideoEvent>
mapListFromJson(dynamic json, {bool growable = false}) Map<String, List<VideoEvent>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.