import 'package:equatable/equatable.dart'; import 'language.dart'; /// Metadata associated with a certain [ClosedCaptionTrack] class ClosedCaptionTrackInfo extends Equatable { /// Manifest URL of the associated track. final Uri url; /// Language of the associated track. final Language language; /// Whether the associated track was automatically generated. final bool isAutoGenerated; /// Initializes an instance of [ClosedCaptionTrackInfo] const ClosedCaptionTrackInfo(this.url, this.language, {this.isAutoGenerated}); @override String toString() => 'CC Track ($language)'; @override List get props => [url, language, isAutoGenerated]; }