Episode class Null safety

A class representing an individual episode.

Constructors

Episode({required String guid, required String title, required String description, String? link = '', DateTime? publicationDate, String? author = '', Duration? duration, String? contentUrl, String? imageUrl, int? season, int? episode, Chapters? chapters})

Properties

author String?
Episode author.
read / write
chapters Chapters?
Episode chapters for feeds that support PodcastIndex
final
contentUrl String?
Media fields
read / write
description String
The episode description.
final
duration Duration?
Length of the episode as a Duration.
final
episode int?
Episode number
read / write
guid String
The episode unique identifier.
final
hashCode int
The hash code for this object.
read-only, inherited
imageUrl String?
Episode specific image URL if one exists
read / write
The episode URL.
read / write
publicationDate DateTime?
Publication date of the episode.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
season int?
Season
read / write
title String
The episode title.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited