VideoCardEvent constructor

const VideoCardEvent({
  1. required VideoCardEventType type,
  2. String? videoId,
  3. Map<String, dynamic>? data,
  4. String? error,
  5. int? errorCode,
  6. bool? isLike,
  7. bool? isSucceed,
  8. String? title,
  9. String? userName,
  10. int? commentCount,
  11. int? publishTime,
})

Implementation

const VideoCardEvent({
  required this.type,
  this.videoId,
  this.data,
  this.error,
  this.errorCode,
  this.isLike,
  this.isSucceed,
  this.title,
  this.userName,
  this.commentCount,
  this.publishTime,
});