2022-07-07 17:34:25 +00:00
|
|
|
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
|
|
|
|
part of 'channel_item.dart';
|
|
|
|
|
|
|
|
// **************************************************************************
|
|
|
|
// BuiltValueGenerator
|
|
|
|
// **************************************************************************
|
|
|
|
|
|
|
|
class _$ChannelItem extends ChannelItem {
|
|
|
|
@override
|
|
|
|
final String? description;
|
|
|
|
@override
|
|
|
|
final String? name;
|
|
|
|
@override
|
|
|
|
final int? subscribers;
|
|
|
|
@override
|
|
|
|
final String? thumbnail;
|
|
|
|
@override
|
|
|
|
final String? url;
|
|
|
|
@override
|
|
|
|
final bool? verified;
|
|
|
|
@override
|
|
|
|
final int? videos;
|
|
|
|
|
|
|
|
factory _$ChannelItem([void Function(ChannelItemBuilder)? updates]) =>
|
2022-10-10 09:50:22 +00:00
|
|
|
(new ChannelItemBuilder()..update(updates))._build();
|
2022-07-07 17:34:25 +00:00
|
|
|
|
|
|
|
_$ChannelItem._(
|
|
|
|
{this.description,
|
|
|
|
this.name,
|
|
|
|
this.subscribers,
|
|
|
|
this.thumbnail,
|
|
|
|
this.url,
|
|
|
|
this.verified,
|
|
|
|
this.videos})
|
|
|
|
: super._();
|
|
|
|
|
|
|
|
@override
|
|
|
|
ChannelItem rebuild(void Function(ChannelItemBuilder) updates) =>
|
|
|
|
(toBuilder()..update(updates)).build();
|
|
|
|
|
|
|
|
@override
|
|
|
|
ChannelItemBuilder toBuilder() => new ChannelItemBuilder()..replace(this);
|
|
|
|
|
|
|
|
@override
|
|
|
|
bool operator ==(Object other) {
|
|
|
|
if (identical(other, this)) return true;
|
|
|
|
return other is ChannelItem &&
|
|
|
|
description == other.description &&
|
|
|
|
name == other.name &&
|
|
|
|
subscribers == other.subscribers &&
|
|
|
|
thumbnail == other.thumbnail &&
|
|
|
|
url == other.url &&
|
|
|
|
verified == other.verified &&
|
|
|
|
videos == other.videos;
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
|
|
|
int get hashCode {
|
|
|
|
return $jf($jc(
|
|
|
|
$jc(
|
|
|
|
$jc(
|
|
|
|
$jc(
|
|
|
|
$jc($jc($jc(0, description.hashCode), name.hashCode),
|
|
|
|
subscribers.hashCode),
|
|
|
|
thumbnail.hashCode),
|
|
|
|
url.hashCode),
|
|
|
|
verified.hashCode),
|
|
|
|
videos.hashCode));
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
|
|
|
String toString() {
|
2022-10-10 09:50:22 +00:00
|
|
|
return (newBuiltValueToStringHelper(r'ChannelItem')
|
2022-07-07 17:34:25 +00:00
|
|
|
..add('description', description)
|
|
|
|
..add('name', name)
|
|
|
|
..add('subscribers', subscribers)
|
|
|
|
..add('thumbnail', thumbnail)
|
|
|
|
..add('url', url)
|
|
|
|
..add('verified', verified)
|
|
|
|
..add('videos', videos))
|
|
|
|
.toString();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
class ChannelItemBuilder implements Builder<ChannelItem, ChannelItemBuilder> {
|
|
|
|
_$ChannelItem? _$v;
|
|
|
|
|
|
|
|
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;
|
|
|
|
|
|
|
|
String? _thumbnail;
|
|
|
|
String? get thumbnail => _$this._thumbnail;
|
|
|
|
set thumbnail(String? thumbnail) => _$this._thumbnail = thumbnail;
|
|
|
|
|
|
|
|
String? _url;
|
|
|
|
String? get url => _$this._url;
|
|
|
|
set url(String? url) => _$this._url = url;
|
|
|
|
|
|
|
|
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;
|
|
|
|
|
|
|
|
ChannelItemBuilder() {
|
|
|
|
ChannelItem._defaults(this);
|
|
|
|
}
|
|
|
|
|
|
|
|
ChannelItemBuilder get _$this {
|
|
|
|
final $v = _$v;
|
|
|
|
if ($v != null) {
|
|
|
|
_description = $v.description;
|
|
|
|
_name = $v.name;
|
|
|
|
_subscribers = $v.subscribers;
|
|
|
|
_thumbnail = $v.thumbnail;
|
|
|
|
_url = $v.url;
|
|
|
|
_verified = $v.verified;
|
|
|
|
_videos = $v.videos;
|
|
|
|
_$v = null;
|
|
|
|
}
|
|
|
|
return this;
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
|
|
|
void replace(ChannelItem other) {
|
|
|
|
ArgumentError.checkNotNull(other, 'other');
|
|
|
|
_$v = other as _$ChannelItem;
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
|
|
|
void update(void Function(ChannelItemBuilder)? updates) {
|
|
|
|
if (updates != null) updates(this);
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
2022-10-10 09:50:22 +00:00
|
|
|
ChannelItem build() => _build();
|
|
|
|
|
|
|
|
_$ChannelItem _build() {
|
2022-07-07 17:34:25 +00:00
|
|
|
final _$result = _$v ??
|
|
|
|
new _$ChannelItem._(
|
|
|
|
description: description,
|
|
|
|
name: name,
|
|
|
|
subscribers: subscribers,
|
|
|
|
thumbnail: thumbnail,
|
|
|
|
url: url,
|
|
|
|
verified: verified,
|
|
|
|
videos: videos);
|
|
|
|
replace(_$result);
|
|
|
|
return _$result;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-10-10 09:50:22 +00:00
|
|
|
// 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
|