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. String? reason,
  12. required String egressId,
  13. required DateTime capturedAt,
  14. required String sessionId,
  15. required String trackType,
  16. required String url,
  17. Map<String, UserResponse> users = const {},
  18. required String hlsPlaylistUrl,
  19. Map<String, List<String>> capabilitiesByRole = const {},
  20. required bool notifyUser,
  21. required String userId,
  22. required String message,
  23. required ReactionResponse reaction,
  24. required CallRecording callRecording,
  25. required bool video,
  26. required String name,
  27. required int anonymousParticipantCount,
  28. Map<String, int> participantsCountByRole = const {},
  29. required CallParticipantResponse participant,
  30. required int durationSeconds,
  31. required APIError error,
  32. required CallTranscription callTranscription,
  33. required String fromUserId,
  34. List<String> mutedUserIds = const [],
  35. required CallClosedCaption closedCaption,
  36. required String connectionId,
  37. required OwnUserResponse me,
  38. required String cid,
  39. List<String> permissions = const [],
  40. List<OwnCapability> ownCapabilities = const [],
  41. required String channelId,
  42. required String channelType,
  43. required User createdBy,
  44. DateTime? expiration,
  45. required bool shadow,
  46. String? team,
  47. String? targetUser,
  48. 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 [],
  this.reason,
  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.userId,
  required this.message,
  required this.reaction,
  required this.callRecording,
  required this.video,
  required this.name,
  required this.anonymousParticipantCount,
  this.participantsCountByRole = const {},
  required this.participant,
  required this.durationSeconds,
  required this.error,
  required this.callTranscription,
  required this.fromUserId,
  this.mutedUserIds = const [],
  required this.closedCaption,
  required this.connectionId,
  required this.me,
  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 [],
});