// coverage:ignore-file // GENERATED CODE - DO NOT MODIFY BY HAND // ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target part of 'video.dart'; // ************************************************************************** // FreezedGenerator // ************************************************************************** T _$identity(T value) => value; final _privateConstructorUsedError = UnsupportedError( 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more informations: https://github.com/rrousselGit/freezed#custom-getters-and-methods'); /// @nodoc class _$VideoTearOff { const _$VideoTearOff(); _Video _internal( VideoId id, String title, String author, ChannelId channelId, DateTime? uploadDate, DateTime? publishDate, String description, Duration? duration, ThumbnailSet thumbnails, UnmodifiableListView keywords, Engagement engagement, bool isLive, [@internal WatchPage? watchPage]) { return _Video( id, title, author, channelId, uploadDate, publishDate, description, duration, thumbnails, keywords, engagement, isLive, watchPage, ); } } /// @nodoc const $Video = _$VideoTearOff(); /// @nodoc mixin _$Video { /// Video ID. VideoId get id => throw _privateConstructorUsedError; /// Video title. String get title => throw _privateConstructorUsedError; /// Video author. String get author => throw _privateConstructorUsedError; /// Video author Id. ChannelId get channelId => throw _privateConstructorUsedError; /// Video upload date. /// Note: For search queries it is calculated with: /// DateTime.now() - how much time is was published. DateTime? get uploadDate => throw _privateConstructorUsedError; /// Video publish date. DateTime? get publishDate => throw _privateConstructorUsedError; /// Video description. String get description => throw _privateConstructorUsedError; /// Duration of the video. Duration? get duration => throw _privateConstructorUsedError; /// Available thumbnails for this video. ThumbnailSet get thumbnails => throw _privateConstructorUsedError; /// Search keywords used for this video. UnmodifiableListView get keywords => throw _privateConstructorUsedError; /// Engagement statistics for this video. Engagement get engagement => throw _privateConstructorUsedError; /// Returns true if this is a live stream. //ignore: avoid_positional_boolean_parameters bool get isLive => throw _privateConstructorUsedError; /// Used internally. /// Shouldn't be used in the code. @internal WatchPage? get watchPage => throw _privateConstructorUsedError; @JsonKey(ignore: true) $VideoCopyWith