Update autogenerated files.

This commit is contained in:
Kavin 2022-10-10 10:50:22 +01:00
parent b91c008f1c
commit 7407348212
No known key found for this signature in database
GPG Key ID: 49451E4482CC5BCD
25 changed files with 174 additions and 341 deletions

View File

@ -28,7 +28,7 @@ class _$ChannelInfo extends ChannelInfo {
final bool verified; final bool verified;
factory _$ChannelInfo([void Function(ChannelInfoBuilder) updates]) => factory _$ChannelInfo([void Function(ChannelInfoBuilder) updates]) =>
(new ChannelInfoBuilder()..update(updates)).build(); (new ChannelInfoBuilder()..update(updates))._build();
_$ChannelInfo._( _$ChannelInfo._(
{this.avatarUrl, {this.avatarUrl,
@ -86,7 +86,7 @@ class _$ChannelInfo extends ChannelInfo {
@override @override
String toString() { String toString() {
return (newBuiltValueToStringHelper('ChannelInfo') return (newBuiltValueToStringHelper(r'ChannelInfo')
..add('avatarUrl', avatarUrl) ..add('avatarUrl', avatarUrl)
..add('bannerUrl', bannerUrl) ..add('bannerUrl', bannerUrl)
..add('description', description) ..add('description', description)
@ -175,7 +175,9 @@ class ChannelInfoBuilder implements Builder<ChannelInfo, ChannelInfoBuilder> {
} }
@override @override
_$ChannelInfo build() { ChannelInfo build() => _build();
_$ChannelInfo _build() {
_$ChannelInfo _$result; _$ChannelInfo _$result;
try { try {
_$result = _$v ?? _$result = _$v ??
@ -196,7 +198,7 @@ class ChannelInfoBuilder implements Builder<ChannelInfo, ChannelInfoBuilder> {
_relatedStreams?.build(); _relatedStreams?.build();
} catch (e) { } catch (e) {
throw new BuiltValueNestedFieldError( throw new BuiltValueNestedFieldError(
'ChannelInfo', _$failedField, e.toString()); r'ChannelInfo', _$failedField, e.toString());
} }
rethrow; rethrow;
} }
@ -205,4 +207,4 @@ class ChannelInfoBuilder implements Builder<ChannelInfo, ChannelInfoBuilder> {
} }
} }
// ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new // ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,no_leading_underscores_for_local_identifiers,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new,unnecessary_lambdas

View File

@ -14,11 +14,12 @@ class _$ExceptionError extends ExceptionError {
final String message; final String message;
factory _$ExceptionError([void Function(ExceptionErrorBuilder) updates]) => factory _$ExceptionError([void Function(ExceptionErrorBuilder) updates]) =>
(new ExceptionErrorBuilder()..update(updates)).build(); (new ExceptionErrorBuilder()..update(updates))._build();
_$ExceptionError._({this.error, this.message}) : super._() { _$ExceptionError._({this.error, this.message}) : super._() {
BuiltValueNullFieldError.checkNotNull(error, 'ExceptionError', 'error'); BuiltValueNullFieldError.checkNotNull(error, r'ExceptionError', 'error');
BuiltValueNullFieldError.checkNotNull(message, 'ExceptionError', 'message'); BuiltValueNullFieldError.checkNotNull(
message, r'ExceptionError', 'message');
} }
@override @override
@ -44,7 +45,7 @@ class _$ExceptionError extends ExceptionError {
@override @override
String toString() { String toString() {
return (newBuiltValueToStringHelper('ExceptionError') return (newBuiltValueToStringHelper(r'ExceptionError')
..add('error', error) ..add('error', error)
..add('message', message)) ..add('message', message))
.toString(); .toString();
@ -89,16 +90,18 @@ class ExceptionErrorBuilder
} }
@override @override
_$ExceptionError build() { ExceptionError build() => _build();
_$ExceptionError _build() {
final _$result = _$v ?? final _$result = _$v ??
new _$ExceptionError._( new _$ExceptionError._(
error: BuiltValueNullFieldError.checkNotNull( error: BuiltValueNullFieldError.checkNotNull(
error, 'ExceptionError', 'error'), error, r'ExceptionError', 'error'),
message: BuiltValueNullFieldError.checkNotNull( message: BuiltValueNullFieldError.checkNotNull(
message, 'ExceptionError', 'message')); message, r'ExceptionError', 'message'));
replace(_$result); replace(_$result);
return _$result; return _$result;
} }
} }
// ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new // ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,no_leading_underscores_for_local_identifiers,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new,unnecessary_lambdas

View File

@ -803,4 +803,4 @@ class _$RegionsSerializer implements PrimitiveSerializer<Regions> {
_fromWire[serialized] ?? (serialized is String ? serialized : '')); _fromWire[serialized] ?? (serialized is String ? serialized : ''));
} }
// ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new // ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,no_leading_underscores_for_local_identifiers,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new,unnecessary_lambdas

View File

@ -111,7 +111,7 @@ class _$Stream extends Stream {
final int fps; final int fps;
factory _$Stream([void Function(StreamBuilder) updates]) => factory _$Stream([void Function(StreamBuilder) updates]) =>
(new StreamBuilder()..update(updates)).build(); (new StreamBuilder()..update(updates))._build();
_$Stream._( _$Stream._(
{this.url, {this.url,
@ -189,7 +189,7 @@ class _$Stream extends Stream {
@override @override
String toString() { String toString() {
return (newBuiltValueToStringHelper('Stream') return (newBuiltValueToStringHelper(r'Stream')
..add('url', url) ..add('url', url)
..add('format', format) ..add('format', format)
..add('quality', quality) ..add('quality', quality)
@ -305,7 +305,9 @@ class StreamBuilder implements Builder<Stream, StreamBuilder> {
} }
@override @override
_$Stream build() { Stream build() => _build();
_$Stream _build() {
final _$result = _$v ?? final _$result = _$v ??
new _$Stream._( new _$Stream._(
url: url, url: url,
@ -327,4 +329,4 @@ class StreamBuilder implements Builder<Stream, StreamBuilder> {
} }
} }
// ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new // ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,no_leading_underscores_for_local_identifiers,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new,unnecessary_lambdas

View File

@ -32,7 +32,7 @@ class _$StreamItem extends StreamItem {
final int views; final int views;
factory _$StreamItem([void Function(StreamItemBuilder) updates]) => factory _$StreamItem([void Function(StreamItemBuilder) updates]) =>
(new StreamItemBuilder()..update(updates)).build(); (new StreamItemBuilder()..update(updates))._build();
_$StreamItem._( _$StreamItem._(
{this.duration, {this.duration,
@ -47,10 +47,11 @@ class _$StreamItem extends StreamItem {
this.url, this.url,
this.views}) this.views})
: super._() { : super._() {
BuiltValueNullFieldError.checkNotNull(duration, 'StreamItem', 'duration'); BuiltValueNullFieldError.checkNotNull(duration, r'StreamItem', 'duration');
BuiltValueNullFieldError.checkNotNull(thumbnail, 'StreamItem', 'thumbnail'); BuiltValueNullFieldError.checkNotNull(
BuiltValueNullFieldError.checkNotNull(title, 'StreamItem', 'title'); thumbnail, r'StreamItem', 'thumbnail');
BuiltValueNullFieldError.checkNotNull(url, 'StreamItem', 'url'); BuiltValueNullFieldError.checkNotNull(title, r'StreamItem', 'title');
BuiltValueNullFieldError.checkNotNull(url, r'StreamItem', 'url');
} }
@override @override
@ -103,7 +104,7 @@ class _$StreamItem extends StreamItem {
@override @override
String toString() { String toString() {
return (newBuiltValueToStringHelper('StreamItem') return (newBuiltValueToStringHelper(r'StreamItem')
..add('duration', duration) ..add('duration', duration)
..add('thumbnail', thumbnail) ..add('thumbnail', thumbnail)
..add('title', title) ..add('title', title)
@ -203,27 +204,29 @@ class StreamItemBuilder implements Builder<StreamItem, StreamItemBuilder> {
} }
@override @override
_$StreamItem build() { StreamItem build() => _build();
_$StreamItem _build() {
final _$result = _$v ?? final _$result = _$v ??
new _$StreamItem._( new _$StreamItem._(
duration: BuiltValueNullFieldError.checkNotNull( duration: BuiltValueNullFieldError.checkNotNull(
duration, 'StreamItem', 'duration'), duration, r'StreamItem', 'duration'),
thumbnail: BuiltValueNullFieldError.checkNotNull( thumbnail: BuiltValueNullFieldError.checkNotNull(
thumbnail, 'StreamItem', 'thumbnail'), thumbnail, r'StreamItem', 'thumbnail'),
title: BuiltValueNullFieldError.checkNotNull( title: BuiltValueNullFieldError.checkNotNull(
title, 'StreamItem', 'title'), title, r'StreamItem', 'title'),
uploaded: uploaded, uploaded: uploaded,
uploadedDate: uploadedDate, uploadedDate: uploadedDate,
uploaderAvatar: uploaderAvatar, uploaderAvatar: uploaderAvatar,
uploaderName: uploaderName, uploaderName: uploaderName,
uploaderUrl: uploaderUrl, uploaderUrl: uploaderUrl,
uploaderVerified: uploaderVerified, uploaderVerified: uploaderVerified,
url: url: BuiltValueNullFieldError.checkNotNull(
BuiltValueNullFieldError.checkNotNull(url, 'StreamItem', 'url'), url, r'StreamItem', 'url'),
views: views); views: views);
replace(_$result); replace(_$result);
return _$result; return _$result;
} }
} }
// ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new // ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,no_leading_underscores_for_local_identifiers,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new,unnecessary_lambdas

View File

@ -14,7 +14,7 @@ class _$StreamsPage extends StreamsPage {
final String nextpage; final String nextpage;
factory _$StreamsPage([void Function(StreamsPageBuilder) updates]) => factory _$StreamsPage([void Function(StreamsPageBuilder) updates]) =>
(new StreamsPageBuilder()..update(updates)).build(); (new StreamsPageBuilder()..update(updates))._build();
_$StreamsPage._({this.relatedStreams, this.nextpage}) : super._(); _$StreamsPage._({this.relatedStreams, this.nextpage}) : super._();
@ -40,7 +40,7 @@ class _$StreamsPage extends StreamsPage {
@override @override
String toString() { String toString() {
return (newBuiltValueToStringHelper('StreamsPage') return (newBuiltValueToStringHelper(r'StreamsPage')
..add('relatedStreams', relatedStreams) ..add('relatedStreams', relatedStreams)
..add('nextpage', nextpage)) ..add('nextpage', nextpage))
.toString(); .toString();
@ -86,7 +86,9 @@ class StreamsPageBuilder implements Builder<StreamsPage, StreamsPageBuilder> {
} }
@override @override
_$StreamsPage build() { StreamsPage build() => _build();
_$StreamsPage _build() {
_$StreamsPage _$result; _$StreamsPage _$result;
try { try {
_$result = _$v ?? _$result = _$v ??
@ -99,7 +101,7 @@ class StreamsPageBuilder implements Builder<StreamsPage, StreamsPageBuilder> {
_relatedStreams?.build(); _relatedStreams?.build();
} catch (e) { } catch (e) {
throw new BuiltValueNestedFieldError( throw new BuiltValueNestedFieldError(
'StreamsPage', _$failedField, e.toString()); r'StreamsPage', _$failedField, e.toString());
} }
rethrow; rethrow;
} }
@ -108,4 +110,4 @@ class StreamsPageBuilder implements Builder<StreamsPage, StreamsPageBuilder> {
} }
} }
// ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new // ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,no_leading_underscores_for_local_identifiers,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new,unnecessary_lambdas

View File

@ -18,7 +18,7 @@ class _$Subtitle extends Subtitle {
final String url; final String url;
factory _$Subtitle([void Function(SubtitleBuilder) updates]) => factory _$Subtitle([void Function(SubtitleBuilder) updates]) =>
(new SubtitleBuilder()..update(updates)).build(); (new SubtitleBuilder()..update(updates))._build();
_$Subtitle._({this.autoGenerated, this.code, this.mimeType, this.url}) _$Subtitle._({this.autoGenerated, this.code, this.mimeType, this.url})
: super._(); : super._();
@ -50,7 +50,7 @@ class _$Subtitle extends Subtitle {
@override @override
String toString() { String toString() {
return (newBuiltValueToStringHelper('Subtitle') return (newBuiltValueToStringHelper(r'Subtitle')
..add('autoGenerated', autoGenerated) ..add('autoGenerated', autoGenerated)
..add('code', code) ..add('code', code)
..add('mimeType', mimeType) ..add('mimeType', mimeType)
@ -107,7 +107,9 @@ class SubtitleBuilder implements Builder<Subtitle, SubtitleBuilder> {
} }
@override @override
_$Subtitle build() { Subtitle build() => _build();
_$Subtitle _build() {
final _$result = _$v ?? final _$result = _$v ??
new _$Subtitle._( new _$Subtitle._(
autoGenerated: autoGenerated, autoGenerated: autoGenerated,
@ -119,4 +121,4 @@ class SubtitleBuilder implements Builder<Subtitle, SubtitleBuilder> {
} }
} }
// ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new // ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,no_leading_underscores_for_local_identifiers,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new,unnecessary_lambdas

View File

@ -50,7 +50,7 @@ class _$VideoInfo extends VideoInfo {
final BuiltList<StreamItem> relatedStreams; final BuiltList<StreamItem> relatedStreams;
factory _$VideoInfo([void Function(VideoInfoBuilder) updates]) => factory _$VideoInfo([void Function(VideoInfoBuilder) updates]) =>
(new VideoInfoBuilder()..update(updates)).build(); (new VideoInfoBuilder()..update(updates))._build();
_$VideoInfo._( _$VideoInfo._(
{this.audioStreams, {this.audioStreams,
@ -152,7 +152,7 @@ class _$VideoInfo extends VideoInfo {
@override @override
String toString() { String toString() {
return (newBuiltValueToStringHelper('VideoInfo') return (newBuiltValueToStringHelper(r'VideoInfo')
..add('audioStreams', audioStreams) ..add('audioStreams', audioStreams)
..add('videoStreams', videoStreams) ..add('videoStreams', videoStreams)
..add('description', description) ..add('description', description)
@ -314,7 +314,9 @@ class VideoInfoBuilder implements Builder<VideoInfo, VideoInfoBuilder> {
} }
@override @override
_$VideoInfo build() { VideoInfo build() => _build();
_$VideoInfo _build() {
_$VideoInfo _$result; _$VideoInfo _$result;
try { try {
_$result = _$v ?? _$result = _$v ??
@ -354,7 +356,7 @@ class VideoInfoBuilder implements Builder<VideoInfo, VideoInfoBuilder> {
_relatedStreams?.build(); _relatedStreams?.build();
} catch (e) { } catch (e) {
throw new BuiltValueNestedFieldError( throw new BuiltValueNestedFieldError(
'VideoInfo', _$failedField, e.toString()); r'VideoInfo', _$failedField, e.toString());
} }
rethrow; rethrow;
} }
@ -363,4 +365,4 @@ class VideoInfoBuilder implements Builder<VideoInfo, VideoInfoBuilder> {
} }
} }
// ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new // ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,no_leading_underscores_for_local_identifiers,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new,unnecessary_lambdas

View File

@ -37,4 +37,4 @@ Serializers _$serializers = (new Serializers().toBuilder()
() => new ListBuilder<StreamItem>())) () => new ListBuilder<StreamItem>()))
.build(); .build();
// ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new // ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,no_leading_underscores_for_local_identifiers,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new,unnecessary_lambdas

View File

@ -27,7 +27,7 @@ class _$ChannelInfo extends ChannelInfo {
final bool? verified; final bool? verified;
factory _$ChannelInfo([void Function(ChannelInfoBuilder)? updates]) => factory _$ChannelInfo([void Function(ChannelInfoBuilder)? updates]) =>
(new ChannelInfoBuilder()..update(updates)).build(); (new ChannelInfoBuilder()..update(updates))._build();
_$ChannelInfo._( _$ChannelInfo._(
{this.avatarUrl, {this.avatarUrl,
@ -85,7 +85,7 @@ class _$ChannelInfo extends ChannelInfo {
@override @override
String toString() { String toString() {
return (newBuiltValueToStringHelper('ChannelInfo') return (newBuiltValueToStringHelper(r'ChannelInfo')
..add('avatarUrl', avatarUrl) ..add('avatarUrl', avatarUrl)
..add('bannerUrl', bannerUrl) ..add('bannerUrl', bannerUrl)
..add('description', description) ..add('description', description)
@ -174,7 +174,9 @@ class ChannelInfoBuilder implements Builder<ChannelInfo, ChannelInfoBuilder> {
} }
@override @override
_$ChannelInfo build() { ChannelInfo build() => _build();
_$ChannelInfo _build() {
_$ChannelInfo _$result; _$ChannelInfo _$result;
try { try {
_$result = _$v ?? _$result = _$v ??
@ -195,7 +197,7 @@ class ChannelInfoBuilder implements Builder<ChannelInfo, ChannelInfoBuilder> {
_relatedStreams?.build(); _relatedStreams?.build();
} catch (e) { } catch (e) {
throw new BuiltValueNestedFieldError( throw new BuiltValueNestedFieldError(
'ChannelInfo', _$failedField, e.toString()); r'ChannelInfo', _$failedField, e.toString());
} }
rethrow; rethrow;
} }
@ -204,4 +206,4 @@ class ChannelInfoBuilder implements Builder<ChannelInfo, ChannelInfoBuilder> {
} }
} }
// ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new // ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,no_leading_underscores_for_local_identifiers,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new,unnecessary_lambdas

View File

@ -23,7 +23,7 @@ class _$ChannelItem extends ChannelItem {
final int? videos; final int? videos;
factory _$ChannelItem([void Function(ChannelItemBuilder)? updates]) => factory _$ChannelItem([void Function(ChannelItemBuilder)? updates]) =>
(new ChannelItemBuilder()..update(updates)).build(); (new ChannelItemBuilder()..update(updates))._build();
_$ChannelItem._( _$ChannelItem._(
{this.description, {this.description,
@ -71,7 +71,7 @@ class _$ChannelItem extends ChannelItem {
@override @override
String toString() { String toString() {
return (newBuiltValueToStringHelper('ChannelItem') return (newBuiltValueToStringHelper(r'ChannelItem')
..add('description', description) ..add('description', description)
..add('name', name) ..add('name', name)
..add('subscribers', subscribers) ..add('subscribers', subscribers)
@ -145,7 +145,9 @@ class ChannelItemBuilder implements Builder<ChannelItem, ChannelItemBuilder> {
} }
@override @override
_$ChannelItem build() { ChannelItem build() => _build();
_$ChannelItem _build() {
final _$result = _$v ?? final _$result = _$v ??
new _$ChannelItem._( new _$ChannelItem._(
description: description, description: description,
@ -160,4 +162,4 @@ class ChannelItemBuilder implements Builder<ChannelItem, ChannelItemBuilder> {
} }
} }
// ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new // ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,no_leading_underscores_for_local_identifiers,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new,unnecessary_lambdas

View File

@ -31,7 +31,7 @@ class _$Comment extends Comment {
final bool? verified; final bool? verified;
factory _$Comment([void Function(CommentBuilder)? updates]) => factory _$Comment([void Function(CommentBuilder)? updates]) =>
(new CommentBuilder()..update(updates)).build(); (new CommentBuilder()..update(updates))._build();
_$Comment._( _$Comment._(
{this.author, {this.author,
@ -97,7 +97,7 @@ class _$Comment extends Comment {
@override @override
String toString() { String toString() {
return (newBuiltValueToStringHelper('Comment') return (newBuiltValueToStringHelper(r'Comment')
..add('author', author) ..add('author', author)
..add('thumbnail', thumbnail) ..add('thumbnail', thumbnail)
..add('commentId', commentId) ..add('commentId', commentId)
@ -196,7 +196,9 @@ class CommentBuilder implements Builder<Comment, CommentBuilder> {
} }
@override @override
_$Comment build() { Comment build() => _build();
_$Comment _build() {
final _$result = _$v ?? final _$result = _$v ??
new _$Comment._( new _$Comment._(
author: author, author: author,
@ -215,4 +217,4 @@ class CommentBuilder implements Builder<Comment, CommentBuilder> {
} }
} }
// ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new // ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,no_leading_underscores_for_local_identifiers,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new,unnecessary_lambdas

View File

@ -15,7 +15,7 @@ class _$CommentsPage extends CommentsPage {
final bool? disabled; final bool? disabled;
factory _$CommentsPage([void Function(CommentsPageBuilder)? updates]) => factory _$CommentsPage([void Function(CommentsPageBuilder)? updates]) =>
(new CommentsPageBuilder()..update(updates)).build(); (new CommentsPageBuilder()..update(updates))._build();
_$CommentsPage._({this.comments, this.nextpage, this.disabled}) : super._(); _$CommentsPage._({this.comments, this.nextpage, this.disabled}) : super._();
@ -43,7 +43,7 @@ class _$CommentsPage extends CommentsPage {
@override @override
String toString() { String toString() {
return (newBuiltValueToStringHelper('CommentsPage') return (newBuiltValueToStringHelper(r'CommentsPage')
..add('comments', comments) ..add('comments', comments)
..add('nextpage', nextpage) ..add('nextpage', nextpage)
..add('disabled', disabled)) ..add('disabled', disabled))
@ -95,7 +95,9 @@ class CommentsPageBuilder
} }
@override @override
_$CommentsPage build() { CommentsPage build() => _build();
_$CommentsPage _build() {
_$CommentsPage _$result; _$CommentsPage _$result;
try { try {
_$result = _$v ?? _$result = _$v ??
@ -110,7 +112,7 @@ class CommentsPageBuilder
_comments?.build(); _comments?.build();
} catch (e) { } catch (e) {
throw new BuiltValueNestedFieldError( throw new BuiltValueNestedFieldError(
'CommentsPage', _$failedField, e.toString()); r'CommentsPage', _$failedField, e.toString());
} }
rethrow; rethrow;
} }
@ -119,4 +121,4 @@ class CommentsPageBuilder
} }
} }
// ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new // ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,no_leading_underscores_for_local_identifiers,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new,unnecessary_lambdas

View File

@ -13,11 +13,12 @@ class _$ExceptionError extends ExceptionError {
final String message; final String message;
factory _$ExceptionError([void Function(ExceptionErrorBuilder)? updates]) => factory _$ExceptionError([void Function(ExceptionErrorBuilder)? updates]) =>
(new ExceptionErrorBuilder()..update(updates)).build(); (new ExceptionErrorBuilder()..update(updates))._build();
_$ExceptionError._({required this.error, required this.message}) : super._() { _$ExceptionError._({required this.error, required this.message}) : super._() {
BuiltValueNullFieldError.checkNotNull(error, 'ExceptionError', 'error'); BuiltValueNullFieldError.checkNotNull(error, r'ExceptionError', 'error');
BuiltValueNullFieldError.checkNotNull(message, 'ExceptionError', 'message'); BuiltValueNullFieldError.checkNotNull(
message, r'ExceptionError', 'message');
} }
@override @override
@ -43,7 +44,7 @@ class _$ExceptionError extends ExceptionError {
@override @override
String toString() { String toString() {
return (newBuiltValueToStringHelper('ExceptionError') return (newBuiltValueToStringHelper(r'ExceptionError')
..add('error', error) ..add('error', error)
..add('message', message)) ..add('message', message))
.toString(); .toString();
@ -88,16 +89,18 @@ class ExceptionErrorBuilder
} }
@override @override
_$ExceptionError build() { ExceptionError build() => _build();
_$ExceptionError _build() {
final _$result = _$v ?? final _$result = _$v ??
new _$ExceptionError._( new _$ExceptionError._(
error: BuiltValueNullFieldError.checkNotNull( error: BuiltValueNullFieldError.checkNotNull(
error, 'ExceptionError', 'error'), error, r'ExceptionError', 'error'),
message: BuiltValueNullFieldError.checkNotNull( message: BuiltValueNullFieldError.checkNotNull(
message, 'ExceptionError', 'message')); message, r'ExceptionError', 'message'));
replace(_$result); replace(_$result);
return _$result; return _$result;
} }
} }
// ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new // ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,no_leading_underscores_for_local_identifiers,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new,unnecessary_lambdas

View File

@ -17,7 +17,7 @@ class _$PlaylistItem extends PlaylistItem {
final int? videos; final int? videos;
factory _$PlaylistItem([void Function(PlaylistItemBuilder)? updates]) => factory _$PlaylistItem([void Function(PlaylistItemBuilder)? updates]) =>
(new PlaylistItemBuilder()..update(updates)).build(); (new PlaylistItemBuilder()..update(updates))._build();
_$PlaylistItem._({this.name, this.thumbnail, this.url, this.videos}) _$PlaylistItem._({this.name, this.thumbnail, this.url, this.videos})
: super._(); : super._();
@ -48,7 +48,7 @@ class _$PlaylistItem extends PlaylistItem {
@override @override
String toString() { String toString() {
return (newBuiltValueToStringHelper('PlaylistItem') return (newBuiltValueToStringHelper(r'PlaylistItem')
..add('name', name) ..add('name', name)
..add('thumbnail', thumbnail) ..add('thumbnail', thumbnail)
..add('url', url) ..add('url', url)
@ -105,7 +105,9 @@ class PlaylistItemBuilder
} }
@override @override
_$PlaylistItem build() { PlaylistItem build() => _build();
_$PlaylistItem _build() {
final _$result = _$v ?? final _$result = _$v ??
new _$PlaylistItem._( new _$PlaylistItem._(
name: name, thumbnail: thumbnail, url: url, videos: videos); name: name, thumbnail: thumbnail, url: url, videos: videos);
@ -114,4 +116,4 @@ class PlaylistItemBuilder
} }
} }
// ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new // ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,no_leading_underscores_for_local_identifiers,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new,unnecessary_lambdas

View File

@ -802,4 +802,4 @@ class _$RegionsSerializer implements PrimitiveSerializer<Regions> {
_fromWire[serialized] ?? (serialized is String ? serialized : '')); _fromWire[serialized] ?? (serialized is String ? serialized : ''));
} }
// ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new // ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,no_leading_underscores_for_local_identifiers,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new,unnecessary_lambdas

View File

@ -111,4 +111,4 @@ class _$SearchFilterSerializer implements PrimitiveSerializer<SearchFilter> {
_fromWire[serialized] ?? (serialized is String ? serialized : '')); _fromWire[serialized] ?? (serialized is String ? serialized : ''));
} }
// ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new // ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,no_leading_underscores_for_local_identifiers,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new,unnecessary_lambdas

View File

@ -8,63 +8,13 @@ part of 'search_item.dart';
class _$SearchItem extends SearchItem { class _$SearchItem extends SearchItem {
@override @override
final int duration; final OneOf oneOf;
@override
final String thumbnail;
@override
final String title;
@override
final int? uploaded;
@override
final String? uploadedDate;
@override
final String? uploaderAvatar;
@override
final String? uploaderName;
@override
final String? uploaderUrl;
@override
final bool? uploaderVerified;
@override
final String url;
@override
final int? views;
@override
final String? description;
@override
final String? name;
@override
final int? subscribers;
@override
final bool? verified;
@override
final int? videos;
factory _$SearchItem([void Function(SearchItemBuilder)? updates]) => factory _$SearchItem([void Function(SearchItemBuilder)? updates]) =>
(new SearchItemBuilder()..update(updates)).build(); (new SearchItemBuilder()..update(updates))._build();
_$SearchItem._( _$SearchItem._({required this.oneOf}) : super._() {
{required this.duration, BuiltValueNullFieldError.checkNotNull(oneOf, r'SearchItem', 'oneOf');
required this.thumbnail,
required this.title,
this.uploaded,
this.uploadedDate,
this.uploaderAvatar,
this.uploaderName,
this.uploaderUrl,
this.uploaderVerified,
required this.url,
this.views,
this.description,
this.name,
this.subscribers,
this.verified,
this.videos})
: super._() {
BuiltValueNullFieldError.checkNotNull(duration, 'SearchItem', 'duration');
BuiltValueNullFieldError.checkNotNull(thumbnail, 'SearchItem', 'thumbnail');
BuiltValueNullFieldError.checkNotNull(title, 'SearchItem', 'title');
BuiltValueNullFieldError.checkNotNull(url, 'SearchItem', 'url');
} }
@override @override
@ -77,83 +27,17 @@ class _$SearchItem extends SearchItem {
@override @override
bool operator ==(Object other) { bool operator ==(Object other) {
if (identical(other, this)) return true; if (identical(other, this)) return true;
return other is SearchItem && return other is SearchItem && oneOf == other.oneOf;
duration == other.duration &&
thumbnail == other.thumbnail &&
title == other.title &&
uploaded == other.uploaded &&
uploadedDate == other.uploadedDate &&
uploaderAvatar == other.uploaderAvatar &&
uploaderName == other.uploaderName &&
uploaderUrl == other.uploaderUrl &&
uploaderVerified == other.uploaderVerified &&
url == other.url &&
views == other.views &&
description == other.description &&
name == other.name &&
subscribers == other.subscribers &&
verified == other.verified &&
videos == other.videos;
} }
@override @override
int get hashCode { int get hashCode {
return $jf($jc( return $jf($jc(0, oneOf.hashCode));
$jc(
$jc(
$jc(
$jc(
$jc(
$jc(
$jc(
$jc(
$jc(
$jc(
$jc(
$jc(
$jc(
$jc(
$jc(
0,
duration
.hashCode),
thumbnail
.hashCode),
title.hashCode),
uploaded.hashCode),
uploadedDate.hashCode),
uploaderAvatar.hashCode),
uploaderName.hashCode),
uploaderUrl.hashCode),
uploaderVerified.hashCode),
url.hashCode),
views.hashCode),
description.hashCode),
name.hashCode),
subscribers.hashCode),
verified.hashCode),
videos.hashCode));
} }
@override @override
String toString() { String toString() {
return (newBuiltValueToStringHelper('SearchItem') return (newBuiltValueToStringHelper(r'SearchItem')..add('oneOf', oneOf))
..add('duration', duration)
..add('thumbnail', thumbnail)
..add('title', title)
..add('uploaded', uploaded)
..add('uploadedDate', uploadedDate)
..add('uploaderAvatar', uploaderAvatar)
..add('uploaderName', uploaderName)
..add('uploaderUrl', uploaderUrl)
..add('uploaderVerified', uploaderVerified)
..add('url', url)
..add('views', views)
..add('description', description)
..add('name', name)
..add('subscribers', subscribers)
..add('verified', verified)
..add('videos', videos))
.toString(); .toString();
} }
} }
@ -161,71 +45,9 @@ class _$SearchItem extends SearchItem {
class SearchItemBuilder implements Builder<SearchItem, SearchItemBuilder> { class SearchItemBuilder implements Builder<SearchItem, SearchItemBuilder> {
_$SearchItem? _$v; _$SearchItem? _$v;
int? _duration; OneOf? _oneOf;
int? get duration => _$this._duration; OneOf? get oneOf => _$this._oneOf;
set duration(int? duration) => _$this._duration = duration; set oneOf(OneOf? oneOf) => _$this._oneOf = oneOf;
String? _thumbnail;
String? get thumbnail => _$this._thumbnail;
set thumbnail(String? thumbnail) => _$this._thumbnail = thumbnail;
String? _title;
String? get title => _$this._title;
set title(String? title) => _$this._title = title;
int? _uploaded;
int? get uploaded => _$this._uploaded;
set uploaded(int? uploaded) => _$this._uploaded = uploaded;
String? _uploadedDate;
String? get uploadedDate => _$this._uploadedDate;
set uploadedDate(String? uploadedDate) => _$this._uploadedDate = uploadedDate;
String? _uploaderAvatar;
String? get uploaderAvatar => _$this._uploaderAvatar;
set uploaderAvatar(String? uploaderAvatar) =>
_$this._uploaderAvatar = uploaderAvatar;
String? _uploaderName;
String? get uploaderName => _$this._uploaderName;
set uploaderName(String? uploaderName) => _$this._uploaderName = uploaderName;
String? _uploaderUrl;
String? get uploaderUrl => _$this._uploaderUrl;
set uploaderUrl(String? uploaderUrl) => _$this._uploaderUrl = uploaderUrl;
bool? _uploaderVerified;
bool? get uploaderVerified => _$this._uploaderVerified;
set uploaderVerified(bool? uploaderVerified) =>
_$this._uploaderVerified = uploaderVerified;
String? _url;
String? get url => _$this._url;
set url(String? url) => _$this._url = url;
int? _views;
int? get views => _$this._views;
set views(int? views) => _$this._views = views;
String? _description;
String? get description => _$this._description;
set description(String? description) => _$this._description = description;
String? _name;
String? get name => _$this._name;
set name(String? name) => _$this._name = name;
int? _subscribers;
int? get subscribers => _$this._subscribers;
set subscribers(int? subscribers) => _$this._subscribers = subscribers;
bool? _verified;
bool? get verified => _$this._verified;
set verified(bool? verified) => _$this._verified = verified;
int? _videos;
int? get videos => _$this._videos;
set videos(int? videos) => _$this._videos = videos;
SearchItemBuilder() { SearchItemBuilder() {
SearchItem._defaults(this); SearchItem._defaults(this);
@ -234,22 +56,7 @@ class SearchItemBuilder implements Builder<SearchItem, SearchItemBuilder> {
SearchItemBuilder get _$this { SearchItemBuilder get _$this {
final $v = _$v; final $v = _$v;
if ($v != null) { if ($v != null) {
_duration = $v.duration; _oneOf = $v.oneOf;
_thumbnail = $v.thumbnail;
_title = $v.title;
_uploaded = $v.uploaded;
_uploadedDate = $v.uploadedDate;
_uploaderAvatar = $v.uploaderAvatar;
_uploaderName = $v.uploaderName;
_uploaderUrl = $v.uploaderUrl;
_uploaderVerified = $v.uploaderVerified;
_url = $v.url;
_views = $v.views;
_description = $v.description;
_name = $v.name;
_subscribers = $v.subscribers;
_verified = $v.verified;
_videos = $v.videos;
_$v = null; _$v = null;
} }
return this; return this;
@ -267,32 +74,16 @@ class SearchItemBuilder implements Builder<SearchItem, SearchItemBuilder> {
} }
@override @override
_$SearchItem build() { SearchItem build() => _build();
_$SearchItem _build() {
final _$result = _$v ?? final _$result = _$v ??
new _$SearchItem._( new _$SearchItem._(
duration: BuiltValueNullFieldError.checkNotNull( oneOf: BuiltValueNullFieldError.checkNotNull(
duration, 'SearchItem', 'duration'), oneOf, r'SearchItem', 'oneOf'));
thumbnail: BuiltValueNullFieldError.checkNotNull(
thumbnail, 'SearchItem', 'thumbnail'),
title: BuiltValueNullFieldError.checkNotNull(
title, 'SearchItem', 'title'),
uploaded: uploaded,
uploadedDate: uploadedDate,
uploaderAvatar: uploaderAvatar,
uploaderName: uploaderName,
uploaderUrl: uploaderUrl,
uploaderVerified: uploaderVerified,
url:
BuiltValueNullFieldError.checkNotNull(url, 'SearchItem', 'url'),
views: views,
description: description,
name: name,
subscribers: subscribers,
verified: verified,
videos: videos);
replace(_$result); replace(_$result);
return _$result; return _$result;
} }
} }
// ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new // ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,no_leading_underscores_for_local_identifiers,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new,unnecessary_lambdas

View File

@ -17,7 +17,7 @@ class _$SearchPage extends SearchPage {
final String? suggestion; final String? suggestion;
factory _$SearchPage([void Function(SearchPageBuilder)? updates]) => factory _$SearchPage([void Function(SearchPageBuilder)? updates]) =>
(new SearchPageBuilder()..update(updates)).build(); (new SearchPageBuilder()..update(updates))._build();
_$SearchPage._({this.corrected, this.items, this.nextpage, this.suggestion}) _$SearchPage._({this.corrected, this.items, this.nextpage, this.suggestion})
: super._(); : super._();
@ -48,7 +48,7 @@ class _$SearchPage extends SearchPage {
@override @override
String toString() { String toString() {
return (newBuiltValueToStringHelper('SearchPage') return (newBuiltValueToStringHelper(r'SearchPage')
..add('corrected', corrected) ..add('corrected', corrected)
..add('items', items) ..add('items', items)
..add('nextpage', nextpage) ..add('nextpage', nextpage)
@ -105,7 +105,9 @@ class SearchPageBuilder implements Builder<SearchPage, SearchPageBuilder> {
} }
@override @override
_$SearchPage build() { SearchPage build() => _build();
_$SearchPage _build() {
_$SearchPage _$result; _$SearchPage _$result;
try { try {
_$result = _$v ?? _$result = _$v ??
@ -121,7 +123,7 @@ class SearchPageBuilder implements Builder<SearchPage, SearchPageBuilder> {
_items?.build(); _items?.build();
} catch (e) { } catch (e) {
throw new BuiltValueNestedFieldError( throw new BuiltValueNestedFieldError(
'SearchPage', _$failedField, e.toString()); r'SearchPage', _$failedField, e.toString());
} }
rethrow; rethrow;
} }
@ -130,4 +132,4 @@ class SearchPageBuilder implements Builder<SearchPage, SearchPageBuilder> {
} }
} }
// ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new // ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,no_leading_underscores_for_local_identifiers,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new,unnecessary_lambdas

View File

@ -110,7 +110,7 @@ class _$Stream extends Stream {
final int? fps; final int? fps;
factory _$Stream([void Function(StreamBuilder)? updates]) => factory _$Stream([void Function(StreamBuilder)? updates]) =>
(new StreamBuilder()..update(updates)).build(); (new StreamBuilder()..update(updates))._build();
_$Stream._( _$Stream._(
{this.url, {this.url,
@ -188,7 +188,7 @@ class _$Stream extends Stream {
@override @override
String toString() { String toString() {
return (newBuiltValueToStringHelper('Stream') return (newBuiltValueToStringHelper(r'Stream')
..add('url', url) ..add('url', url)
..add('format', format) ..add('format', format)
..add('quality', quality) ..add('quality', quality)
@ -304,7 +304,9 @@ class StreamBuilder implements Builder<Stream, StreamBuilder> {
} }
@override @override
_$Stream build() { Stream build() => _build();
_$Stream _build() {
final _$result = _$v ?? final _$result = _$v ??
new _$Stream._( new _$Stream._(
url: url, url: url,
@ -326,4 +328,4 @@ class StreamBuilder implements Builder<Stream, StreamBuilder> {
} }
} }
// ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new // ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,no_leading_underscores_for_local_identifiers,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new,unnecessary_lambdas

View File

@ -31,7 +31,7 @@ class _$StreamItem extends StreamItem {
final int? views; final int? views;
factory _$StreamItem([void Function(StreamItemBuilder)? updates]) => factory _$StreamItem([void Function(StreamItemBuilder)? updates]) =>
(new StreamItemBuilder()..update(updates)).build(); (new StreamItemBuilder()..update(updates))._build();
_$StreamItem._( _$StreamItem._(
{required this.duration, {required this.duration,
@ -46,10 +46,11 @@ class _$StreamItem extends StreamItem {
required this.url, required this.url,
this.views}) this.views})
: super._() { : super._() {
BuiltValueNullFieldError.checkNotNull(duration, 'StreamItem', 'duration'); BuiltValueNullFieldError.checkNotNull(duration, r'StreamItem', 'duration');
BuiltValueNullFieldError.checkNotNull(thumbnail, 'StreamItem', 'thumbnail'); BuiltValueNullFieldError.checkNotNull(
BuiltValueNullFieldError.checkNotNull(title, 'StreamItem', 'title'); thumbnail, r'StreamItem', 'thumbnail');
BuiltValueNullFieldError.checkNotNull(url, 'StreamItem', 'url'); BuiltValueNullFieldError.checkNotNull(title, r'StreamItem', 'title');
BuiltValueNullFieldError.checkNotNull(url, r'StreamItem', 'url');
} }
@override @override
@ -102,7 +103,7 @@ class _$StreamItem extends StreamItem {
@override @override
String toString() { String toString() {
return (newBuiltValueToStringHelper('StreamItem') return (newBuiltValueToStringHelper(r'StreamItem')
..add('duration', duration) ..add('duration', duration)
..add('thumbnail', thumbnail) ..add('thumbnail', thumbnail)
..add('title', title) ..add('title', title)
@ -202,27 +203,29 @@ class StreamItemBuilder implements Builder<StreamItem, StreamItemBuilder> {
} }
@override @override
_$StreamItem build() { StreamItem build() => _build();
_$StreamItem _build() {
final _$result = _$v ?? final _$result = _$v ??
new _$StreamItem._( new _$StreamItem._(
duration: BuiltValueNullFieldError.checkNotNull( duration: BuiltValueNullFieldError.checkNotNull(
duration, 'StreamItem', 'duration'), duration, r'StreamItem', 'duration'),
thumbnail: BuiltValueNullFieldError.checkNotNull( thumbnail: BuiltValueNullFieldError.checkNotNull(
thumbnail, 'StreamItem', 'thumbnail'), thumbnail, r'StreamItem', 'thumbnail'),
title: BuiltValueNullFieldError.checkNotNull( title: BuiltValueNullFieldError.checkNotNull(
title, 'StreamItem', 'title'), title, r'StreamItem', 'title'),
uploaded: uploaded, uploaded: uploaded,
uploadedDate: uploadedDate, uploadedDate: uploadedDate,
uploaderAvatar: uploaderAvatar, uploaderAvatar: uploaderAvatar,
uploaderName: uploaderName, uploaderName: uploaderName,
uploaderUrl: uploaderUrl, uploaderUrl: uploaderUrl,
uploaderVerified: uploaderVerified, uploaderVerified: uploaderVerified,
url: url: BuiltValueNullFieldError.checkNotNull(
BuiltValueNullFieldError.checkNotNull(url, 'StreamItem', 'url'), url, r'StreamItem', 'url'),
views: views); views: views);
replace(_$result); replace(_$result);
return _$result; return _$result;
} }
} }
// ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new // ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,no_leading_underscores_for_local_identifiers,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new,unnecessary_lambdas

View File

@ -13,7 +13,7 @@ class _$StreamsPage extends StreamsPage {
final String? nextpage; final String? nextpage;
factory _$StreamsPage([void Function(StreamsPageBuilder)? updates]) => factory _$StreamsPage([void Function(StreamsPageBuilder)? updates]) =>
(new StreamsPageBuilder()..update(updates)).build(); (new StreamsPageBuilder()..update(updates))._build();
_$StreamsPage._({this.relatedStreams, this.nextpage}) : super._(); _$StreamsPage._({this.relatedStreams, this.nextpage}) : super._();
@ -39,7 +39,7 @@ class _$StreamsPage extends StreamsPage {
@override @override
String toString() { String toString() {
return (newBuiltValueToStringHelper('StreamsPage') return (newBuiltValueToStringHelper(r'StreamsPage')
..add('relatedStreams', relatedStreams) ..add('relatedStreams', relatedStreams)
..add('nextpage', nextpage)) ..add('nextpage', nextpage))
.toString(); .toString();
@ -85,7 +85,9 @@ class StreamsPageBuilder implements Builder<StreamsPage, StreamsPageBuilder> {
} }
@override @override
_$StreamsPage build() { StreamsPage build() => _build();
_$StreamsPage _build() {
_$StreamsPage _$result; _$StreamsPage _$result;
try { try {
_$result = _$v ?? _$result = _$v ??
@ -98,7 +100,7 @@ class StreamsPageBuilder implements Builder<StreamsPage, StreamsPageBuilder> {
_relatedStreams?.build(); _relatedStreams?.build();
} catch (e) { } catch (e) {
throw new BuiltValueNestedFieldError( throw new BuiltValueNestedFieldError(
'StreamsPage', _$failedField, e.toString()); r'StreamsPage', _$failedField, e.toString());
} }
rethrow; rethrow;
} }
@ -107,4 +109,4 @@ class StreamsPageBuilder implements Builder<StreamsPage, StreamsPageBuilder> {
} }
} }
// ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new // ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,no_leading_underscores_for_local_identifiers,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new,unnecessary_lambdas

View File

@ -17,7 +17,7 @@ class _$Subtitle extends Subtitle {
final String? url; final String? url;
factory _$Subtitle([void Function(SubtitleBuilder)? updates]) => factory _$Subtitle([void Function(SubtitleBuilder)? updates]) =>
(new SubtitleBuilder()..update(updates)).build(); (new SubtitleBuilder()..update(updates))._build();
_$Subtitle._({this.autoGenerated, this.code, this.mimeType, this.url}) _$Subtitle._({this.autoGenerated, this.code, this.mimeType, this.url})
: super._(); : super._();
@ -49,7 +49,7 @@ class _$Subtitle extends Subtitle {
@override @override
String toString() { String toString() {
return (newBuiltValueToStringHelper('Subtitle') return (newBuiltValueToStringHelper(r'Subtitle')
..add('autoGenerated', autoGenerated) ..add('autoGenerated', autoGenerated)
..add('code', code) ..add('code', code)
..add('mimeType', mimeType) ..add('mimeType', mimeType)
@ -106,7 +106,9 @@ class SubtitleBuilder implements Builder<Subtitle, SubtitleBuilder> {
} }
@override @override
_$Subtitle build() { Subtitle build() => _build();
_$Subtitle _build() {
final _$result = _$v ?? final _$result = _$v ??
new _$Subtitle._( new _$Subtitle._(
autoGenerated: autoGenerated, autoGenerated: autoGenerated,
@ -118,4 +120,4 @@ class SubtitleBuilder implements Builder<Subtitle, SubtitleBuilder> {
} }
} }
// ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new // ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,no_leading_underscores_for_local_identifiers,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new,unnecessary_lambdas

View File

@ -51,7 +51,7 @@ class _$VideoInfo extends VideoInfo {
final BuiltList<StreamItem>? relatedStreams; final BuiltList<StreamItem>? relatedStreams;
factory _$VideoInfo([void Function(VideoInfoBuilder)? updates]) => factory _$VideoInfo([void Function(VideoInfoBuilder)? updates]) =>
(new VideoInfoBuilder()..update(updates)).build(); (new VideoInfoBuilder()..update(updates))._build();
_$VideoInfo._( _$VideoInfo._(
{this.audioStreams, {this.audioStreams,
@ -155,7 +155,7 @@ class _$VideoInfo extends VideoInfo {
@override @override
String toString() { String toString() {
return (newBuiltValueToStringHelper('VideoInfo') return (newBuiltValueToStringHelper(r'VideoInfo')
..add('audioStreams', audioStreams) ..add('audioStreams', audioStreams)
..add('videoStreams', videoStreams) ..add('videoStreams', videoStreams)
..add('description', description) ..add('description', description)
@ -323,7 +323,9 @@ class VideoInfoBuilder implements Builder<VideoInfo, VideoInfoBuilder> {
} }
@override @override
_$VideoInfo build() { VideoInfo build() => _build();
_$VideoInfo _build() {
_$VideoInfo _$result; _$VideoInfo _$result;
try { try {
_$result = _$v ?? _$result = _$v ??
@ -364,7 +366,7 @@ class VideoInfoBuilder implements Builder<VideoInfo, VideoInfoBuilder> {
_relatedStreams?.build(); _relatedStreams?.build();
} catch (e) { } catch (e) {
throw new BuiltValueNestedFieldError( throw new BuiltValueNestedFieldError(
'VideoInfo', _$failedField, e.toString()); r'VideoInfo', _$failedField, e.toString());
} }
rethrow; rethrow;
} }
@ -373,4 +375,4 @@ class VideoInfoBuilder implements Builder<VideoInfo, VideoInfoBuilder> {
} }
} }
// ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new // ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,no_leading_underscores_for_local_identifiers,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new,unnecessary_lambdas

View File

@ -49,4 +49,4 @@ Serializers _$serializers = (new Serializers().toBuilder()
() => new ListBuilder<StreamItem>())) () => new ListBuilder<StreamItem>()))
.build(); .build();
// ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new // ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,no_leading_underscores_for_local_identifiers,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new,unnecessary_lambdas