VideoEvent constructor

VideoEvent({
  1. required AppEventResponse app,
  2. required DateTime createdAt,
  3. Map<String, Object> custom = const {},
  4. DateTime? receivedAt,
  5. String type = 'user.updated',
  6. UserResponse? blockedByUser,
  7. required String callCid,
  8. required UserResponsePrivacyFields user,
  9. required CallResponse call,
  10. List<MemberResponse> members = const [],
  11. required String egressId,
  12. required DateTime capturedAt,
  13. required String sessionId,
  14. required String trackType,
  15. required String url,
  16. Map<String, UserResponse> users = const {},
  17. required String hlsPlaylistUrl,
  18. Map<String, List<String>> capabilitiesByRole = const {},
  19. required bool notifyUser,
  20. required ReactionResponse reaction,
  21. required CallRecording callRecording,
  22. String? reason,
  23. required bool video,
  24. required String name,
  25. required int anonymousParticipantCount,
  26. Map<String, int> participantsCountByRole = const {},
  27. required CallParticipantResponse participant,
  28. required int durationSeconds,
  29. required CallTranscription callTranscription,
  30. required String fromUserId,
  31. List<String> mutedUserIds = const [],
  32. required CallClosedCaption closedCaption,
  33. required String connectionId,
  34. required OwnUserResponse me,
  35. required APIError error,
  36. required String cid,
  37. List<String> permissions = const [],
  38. List<OwnCapability> ownCapabilities = const [],
  39. required String channelId,
  40. required String channelType,
  41. required User createdBy,
  42. DateTime? expiration,
  43. required bool shadow,
  44. String? team,
  45. String? targetUser,
  46. List<String> targetUsers = const [],
})

Returns a new VideoEvent instance.

Implementation

VideoEvent({
  required this.app,
  required this.createdAt,
  this.custom = const {},
  this.receivedAt,
  this.type = 'user.updated',
  this.blockedByUser,
  required this.callCid,
  required this.user,
  required this.call,
  this.members = const [],
  required this.egressId,
  required this.capturedAt,
  required this.sessionId,
  required this.trackType,
  required this.url,
  this.users = const {},
  required this.hlsPlaylistUrl,
  this.capabilitiesByRole = const {},
  required this.notifyUser,
  required this.reaction,
  required this.callRecording,
  this.reason,
  required this.video,
  required this.name,
  required this.anonymousParticipantCount,
  this.participantsCountByRole = const {},
  required this.participant,
  required this.durationSeconds,
  required this.callTranscription,
  required this.fromUserId,
  this.mutedUserIds = const [],
  required this.closedCaption,
  required this.connectionId,
  required this.me,
  required this.error,
  required this.cid,
  this.permissions = const [],
  this.ownCapabilities = const [],
  required this.channelId,
  required this.channelType,
  required this.createdBy,
  this.expiration,
  required this.shadow,
  this.team,
  this.targetUser,
  this.targetUsers = const [],
});