GoogleCastTvShowMediaMetadataAndroid.fromMap constructor
Implementation
factory GoogleCastTvShowMediaMetadataAndroid.fromMap(
Map<String, dynamic> map) {
return GoogleCastTvShowMediaMetadataAndroid(
seriesTitle: map['seriesTitle'],
season: map['season']?.toInt(),
episode: map['episode']?.toInt(),
images: map['images'] != null
? List<GoogleCastImage>.from(
map['images']?.map((x) => GoogleCastImage.fromMap(x)))
: null,
originalAirDate: map['originalAirDate'] != null
? DateTimeString.tryParse(map['originalAirDate'])
: null,
);
}