LiveItem constructor

LiveItem({
  1. LiveItemStatus? status,
  2. DateTime? start,
  3. DateTime? end,
  4. required RssItem item,
})

Constructor for creating a LiveItem object.

The constructor initializes a LiveItem object with optional named parameters:

  • status: The status of the live item represented by a LiveItemStatus enum.
  • start: The start time of the live item.
  • end: The end time of the live item.
  • item: The RssItem associated with the live item.

Implementation

LiveItem({
  this.status,
  this.start,
  this.end,
  required this.item,
});