LiveEvent constructor
LiveEvent({
- required LiveEventType type,
- int? timestamp,
- int? ts,
- String? broadcastId,
- String? userId,
- List<
CommentUserBadgeInfo> badges = const [], - UserNotification? notification,
- PubSubVote? vote,
- PubSubComment? comment,
- FeedPost? feedPost,
- LiveEventExtraInfo? extraInfo,
- Object? config,
- bool? isClosed,
- List<
String> uj = const [], - List<
String> ul = const [], - int? sc,
- Map<
String, int> changes = const {},
Returns a new LiveEvent instance.
Implementation
LiveEvent({
required this.type,
this.timestamp,
this.ts,
this.broadcastId,
this.userId,
this.badges = const [],
this.notification,
this.vote,
this.comment,
this.feedPost,
this.extraInfo,
this.config,
this.isClosed,
this.uj = const [],
this.ul = const [],
this.sc,
this.changes = const {},
});