mirror of
https://github.com/TeamPiped/piped_dart.git
synced 2024-08-14 22:27:49 +00:00
Update autogenerated files.
This commit is contained in:
parent
b91c008f1c
commit
7407348212
25 changed files with 174 additions and 341 deletions
|
@ -28,7 +28,7 @@ class _$ChannelInfo extends ChannelInfo {
|
|||
final bool verified;
|
||||
|
||||
factory _$ChannelInfo([void Function(ChannelInfoBuilder) updates]) =>
|
||||
(new ChannelInfoBuilder()..update(updates)).build();
|
||||
(new ChannelInfoBuilder()..update(updates))._build();
|
||||
|
||||
_$ChannelInfo._(
|
||||
{this.avatarUrl,
|
||||
|
@ -86,7 +86,7 @@ class _$ChannelInfo extends ChannelInfo {
|
|||
|
||||
@override
|
||||
String toString() {
|
||||
return (newBuiltValueToStringHelper('ChannelInfo')
|
||||
return (newBuiltValueToStringHelper(r'ChannelInfo')
|
||||
..add('avatarUrl', avatarUrl)
|
||||
..add('bannerUrl', bannerUrl)
|
||||
..add('description', description)
|
||||
|
@ -175,7 +175,9 @@ class ChannelInfoBuilder implements Builder<ChannelInfo, ChannelInfoBuilder> {
|
|||
}
|
||||
|
||||
@override
|
||||
_$ChannelInfo build() {
|
||||
ChannelInfo build() => _build();
|
||||
|
||||
_$ChannelInfo _build() {
|
||||
_$ChannelInfo _$result;
|
||||
try {
|
||||
_$result = _$v ??
|
||||
|
@ -196,7 +198,7 @@ class ChannelInfoBuilder implements Builder<ChannelInfo, ChannelInfoBuilder> {
|
|||
_relatedStreams?.build();
|
||||
} catch (e) {
|
||||
throw new BuiltValueNestedFieldError(
|
||||
'ChannelInfo', _$failedField, e.toString());
|
||||
r'ChannelInfo', _$failedField, e.toString());
|
||||
}
|
||||
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
|
||||
|
|
|
@ -14,11 +14,12 @@ class _$ExceptionError extends ExceptionError {
|
|||
final String message;
|
||||
|
||||
factory _$ExceptionError([void Function(ExceptionErrorBuilder) updates]) =>
|
||||
(new ExceptionErrorBuilder()..update(updates)).build();
|
||||
(new ExceptionErrorBuilder()..update(updates))._build();
|
||||
|
||||
_$ExceptionError._({this.error, this.message}) : super._() {
|
||||
BuiltValueNullFieldError.checkNotNull(error, 'ExceptionError', 'error');
|
||||
BuiltValueNullFieldError.checkNotNull(message, 'ExceptionError', 'message');
|
||||
BuiltValueNullFieldError.checkNotNull(error, r'ExceptionError', 'error');
|
||||
BuiltValueNullFieldError.checkNotNull(
|
||||
message, r'ExceptionError', 'message');
|
||||
}
|
||||
|
||||
@override
|
||||
|
@ -44,7 +45,7 @@ class _$ExceptionError extends ExceptionError {
|
|||
|
||||
@override
|
||||
String toString() {
|
||||
return (newBuiltValueToStringHelper('ExceptionError')
|
||||
return (newBuiltValueToStringHelper(r'ExceptionError')
|
||||
..add('error', error)
|
||||
..add('message', message))
|
||||
.toString();
|
||||
|
@ -89,16 +90,18 @@ class ExceptionErrorBuilder
|
|||
}
|
||||
|
||||
@override
|
||||
_$ExceptionError build() {
|
||||
ExceptionError build() => _build();
|
||||
|
||||
_$ExceptionError _build() {
|
||||
final _$result = _$v ??
|
||||
new _$ExceptionError._(
|
||||
error: BuiltValueNullFieldError.checkNotNull(
|
||||
error, 'ExceptionError', 'error'),
|
||||
error, r'ExceptionError', 'error'),
|
||||
message: BuiltValueNullFieldError.checkNotNull(
|
||||
message, 'ExceptionError', 'message'));
|
||||
message, r'ExceptionError', 'message'));
|
||||
replace(_$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
|
||||
|
|
|
@ -803,4 +803,4 @@ class _$RegionsSerializer implements PrimitiveSerializer<Regions> {
|
|||
_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
|
||||
|
|
|
@ -111,7 +111,7 @@ class _$Stream extends Stream {
|
|||
final int fps;
|
||||
|
||||
factory _$Stream([void Function(StreamBuilder) updates]) =>
|
||||
(new StreamBuilder()..update(updates)).build();
|
||||
(new StreamBuilder()..update(updates))._build();
|
||||
|
||||
_$Stream._(
|
||||
{this.url,
|
||||
|
@ -189,7 +189,7 @@ class _$Stream extends Stream {
|
|||
|
||||
@override
|
||||
String toString() {
|
||||
return (newBuiltValueToStringHelper('Stream')
|
||||
return (newBuiltValueToStringHelper(r'Stream')
|
||||
..add('url', url)
|
||||
..add('format', format)
|
||||
..add('quality', quality)
|
||||
|
@ -305,7 +305,9 @@ class StreamBuilder implements Builder<Stream, StreamBuilder> {
|
|||
}
|
||||
|
||||
@override
|
||||
_$Stream build() {
|
||||
Stream build() => _build();
|
||||
|
||||
_$Stream _build() {
|
||||
final _$result = _$v ??
|
||||
new _$Stream._(
|
||||
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
|
||||
|
|
|
@ -32,7 +32,7 @@ class _$StreamItem extends StreamItem {
|
|||
final int views;
|
||||
|
||||
factory _$StreamItem([void Function(StreamItemBuilder) updates]) =>
|
||||
(new StreamItemBuilder()..update(updates)).build();
|
||||
(new StreamItemBuilder()..update(updates))._build();
|
||||
|
||||
_$StreamItem._(
|
||||
{this.duration,
|
||||
|
@ -47,10 +47,11 @@ class _$StreamItem extends StreamItem {
|
|||
this.url,
|
||||
this.views})
|
||||
: super._() {
|
||||
BuiltValueNullFieldError.checkNotNull(duration, 'StreamItem', 'duration');
|
||||
BuiltValueNullFieldError.checkNotNull(thumbnail, 'StreamItem', 'thumbnail');
|
||||
BuiltValueNullFieldError.checkNotNull(title, 'StreamItem', 'title');
|
||||
BuiltValueNullFieldError.checkNotNull(url, 'StreamItem', 'url');
|
||||
BuiltValueNullFieldError.checkNotNull(duration, r'StreamItem', 'duration');
|
||||
BuiltValueNullFieldError.checkNotNull(
|
||||
thumbnail, r'StreamItem', 'thumbnail');
|
||||
BuiltValueNullFieldError.checkNotNull(title, r'StreamItem', 'title');
|
||||
BuiltValueNullFieldError.checkNotNull(url, r'StreamItem', 'url');
|
||||
}
|
||||
|
||||
@override
|
||||
|
@ -103,7 +104,7 @@ class _$StreamItem extends StreamItem {
|
|||
|
||||
@override
|
||||
String toString() {
|
||||
return (newBuiltValueToStringHelper('StreamItem')
|
||||
return (newBuiltValueToStringHelper(r'StreamItem')
|
||||
..add('duration', duration)
|
||||
..add('thumbnail', thumbnail)
|
||||
..add('title', title)
|
||||
|
@ -203,27 +204,29 @@ class StreamItemBuilder implements Builder<StreamItem, StreamItemBuilder> {
|
|||
}
|
||||
|
||||
@override
|
||||
_$StreamItem build() {
|
||||
StreamItem build() => _build();
|
||||
|
||||
_$StreamItem _build() {
|
||||
final _$result = _$v ??
|
||||
new _$StreamItem._(
|
||||
duration: BuiltValueNullFieldError.checkNotNull(
|
||||
duration, 'StreamItem', 'duration'),
|
||||
duration, r'StreamItem', 'duration'),
|
||||
thumbnail: BuiltValueNullFieldError.checkNotNull(
|
||||
thumbnail, 'StreamItem', 'thumbnail'),
|
||||
thumbnail, r'StreamItem', 'thumbnail'),
|
||||
title: BuiltValueNullFieldError.checkNotNull(
|
||||
title, 'StreamItem', 'title'),
|
||||
title, r'StreamItem', 'title'),
|
||||
uploaded: uploaded,
|
||||
uploadedDate: uploadedDate,
|
||||
uploaderAvatar: uploaderAvatar,
|
||||
uploaderName: uploaderName,
|
||||
uploaderUrl: uploaderUrl,
|
||||
uploaderVerified: uploaderVerified,
|
||||
url:
|
||||
BuiltValueNullFieldError.checkNotNull(url, 'StreamItem', 'url'),
|
||||
url: BuiltValueNullFieldError.checkNotNull(
|
||||
url, r'StreamItem', 'url'),
|
||||
views: views);
|
||||
replace(_$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
|
||||
|
|
|
@ -14,7 +14,7 @@ class _$StreamsPage extends StreamsPage {
|
|||
final String nextpage;
|
||||
|
||||
factory _$StreamsPage([void Function(StreamsPageBuilder) updates]) =>
|
||||
(new StreamsPageBuilder()..update(updates)).build();
|
||||
(new StreamsPageBuilder()..update(updates))._build();
|
||||
|
||||
_$StreamsPage._({this.relatedStreams, this.nextpage}) : super._();
|
||||
|
||||
|
@ -40,7 +40,7 @@ class _$StreamsPage extends StreamsPage {
|
|||
|
||||
@override
|
||||
String toString() {
|
||||
return (newBuiltValueToStringHelper('StreamsPage')
|
||||
return (newBuiltValueToStringHelper(r'StreamsPage')
|
||||
..add('relatedStreams', relatedStreams)
|
||||
..add('nextpage', nextpage))
|
||||
.toString();
|
||||
|
@ -86,7 +86,9 @@ class StreamsPageBuilder implements Builder<StreamsPage, StreamsPageBuilder> {
|
|||
}
|
||||
|
||||
@override
|
||||
_$StreamsPage build() {
|
||||
StreamsPage build() => _build();
|
||||
|
||||
_$StreamsPage _build() {
|
||||
_$StreamsPage _$result;
|
||||
try {
|
||||
_$result = _$v ??
|
||||
|
@ -99,7 +101,7 @@ class StreamsPageBuilder implements Builder<StreamsPage, StreamsPageBuilder> {
|
|||
_relatedStreams?.build();
|
||||
} catch (e) {
|
||||
throw new BuiltValueNestedFieldError(
|
||||
'StreamsPage', _$failedField, e.toString());
|
||||
r'StreamsPage', _$failedField, e.toString());
|
||||
}
|
||||
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
|
||||
|
|
|
@ -18,7 +18,7 @@ class _$Subtitle extends Subtitle {
|
|||
final String url;
|
||||
|
||||
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})
|
||||
: super._();
|
||||
|
@ -50,7 +50,7 @@ class _$Subtitle extends Subtitle {
|
|||
|
||||
@override
|
||||
String toString() {
|
||||
return (newBuiltValueToStringHelper('Subtitle')
|
||||
return (newBuiltValueToStringHelper(r'Subtitle')
|
||||
..add('autoGenerated', autoGenerated)
|
||||
..add('code', code)
|
||||
..add('mimeType', mimeType)
|
||||
|
@ -107,7 +107,9 @@ class SubtitleBuilder implements Builder<Subtitle, SubtitleBuilder> {
|
|||
}
|
||||
|
||||
@override
|
||||
_$Subtitle build() {
|
||||
Subtitle build() => _build();
|
||||
|
||||
_$Subtitle _build() {
|
||||
final _$result = _$v ??
|
||||
new _$Subtitle._(
|
||||
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
|
||||
|
|
|
@ -50,7 +50,7 @@ class _$VideoInfo extends VideoInfo {
|
|||
final BuiltList<StreamItem> relatedStreams;
|
||||
|
||||
factory _$VideoInfo([void Function(VideoInfoBuilder) updates]) =>
|
||||
(new VideoInfoBuilder()..update(updates)).build();
|
||||
(new VideoInfoBuilder()..update(updates))._build();
|
||||
|
||||
_$VideoInfo._(
|
||||
{this.audioStreams,
|
||||
|
@ -152,7 +152,7 @@ class _$VideoInfo extends VideoInfo {
|
|||
|
||||
@override
|
||||
String toString() {
|
||||
return (newBuiltValueToStringHelper('VideoInfo')
|
||||
return (newBuiltValueToStringHelper(r'VideoInfo')
|
||||
..add('audioStreams', audioStreams)
|
||||
..add('videoStreams', videoStreams)
|
||||
..add('description', description)
|
||||
|
@ -314,7 +314,9 @@ class VideoInfoBuilder implements Builder<VideoInfo, VideoInfoBuilder> {
|
|||
}
|
||||
|
||||
@override
|
||||
_$VideoInfo build() {
|
||||
VideoInfo build() => _build();
|
||||
|
||||
_$VideoInfo _build() {
|
||||
_$VideoInfo _$result;
|
||||
try {
|
||||
_$result = _$v ??
|
||||
|
@ -354,7 +356,7 @@ class VideoInfoBuilder implements Builder<VideoInfo, VideoInfoBuilder> {
|
|||
_relatedStreams?.build();
|
||||
} catch (e) {
|
||||
throw new BuiltValueNestedFieldError(
|
||||
'VideoInfo', _$failedField, e.toString());
|
||||
r'VideoInfo', _$failedField, e.toString());
|
||||
}
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue