props property Null safety

List<Object> props
override

The list of properties that will be used to determine whether two instances are equal.

Implementation

@override
List<Object> get props {
  return [
    id,
    title,
    type,
    topicId ?? 'Topic id not given',
    publishedAt ?? 'Published at not given',
    availableAt,
    duration ?? 'Duration not provided',
    status,
    startScheduled ?? 'Scheduled start not given',
    startActual ?? 'Actual start not given',
    endActual ?? 'Actual end not given',
    liveViewers ?? 'Live viewers not given',
    description ?? 'Description not given',
    songcount ?? 'Song count not given',
    language ?? 'Language not given',
    channelId ?? 'Channel id not given',
  ];
}