toMap method
Implementation
@override
Map<String, dynamic> toMap() {
return {
'metadataType': metadataType.value,
'seriesTitle': seriesTitle,
'season': season,
'episode': episode,
'images': images?.map((x) => x.toMap()).toList(),
'creationDate': originalAirDate?.millisecondsSinceEpoch,
};
}