GoogleCastMediaLiveSeekableRange.fromMap constructor
Creates a GoogleCastMediaLiveSeekableRange from a map.
map - The map to create the instance from.
Implementation
factory GoogleCastMediaLiveSeekableRange.fromMap(Map<String, dynamic> map) {
return GoogleCastMediaLiveSeekableRange(
end: map['end'] != null ? Duration(seconds: map['end'].toInt()) : null,
isLiveDone: map['isLiveDone'],
isMovingWindow: map['isMovingWindow'],
start:
map['start'] != null ? Duration(seconds: map['start'].toInt()) : null,
);
}