mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-12-06 07:29:42 +00:00
chore: update pubspec.lock to reflect dependency changes and version updates
This commit is contained in:
parent
15773b808b
commit
99283ae8f4
@ -1,739 +0,0 @@
|
||||
// coverage:ignore-file
|
||||
// GENERATED CODE - DO NOT MODIFY BY HAND
|
||||
// ignore_for_file: type=lint
|
||||
// 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, unnecessary_question_mark
|
||||
|
||||
part of 'track_sources.dart';
|
||||
|
||||
// **************************************************************************
|
||||
// FreezedGenerator
|
||||
// **************************************************************************
|
||||
|
||||
T _$identity<T>(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 information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models');
|
||||
|
||||
TrackSourceQuery _$TrackSourceQueryFromJson(Map<String, dynamic> json) {
|
||||
return _TrackSourceQuery.fromJson(json);
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
mixin _$TrackSourceQuery {
|
||||
String get id => throw _privateConstructorUsedError;
|
||||
String get title => throw _privateConstructorUsedError;
|
||||
List<String> get artists => throw _privateConstructorUsedError;
|
||||
String get album => throw _privateConstructorUsedError;
|
||||
int get durationMs => throw _privateConstructorUsedError;
|
||||
String get isrc => throw _privateConstructorUsedError;
|
||||
bool get explicit => throw _privateConstructorUsedError;
|
||||
|
||||
Map<String, dynamic> toJson() => throw _privateConstructorUsedError;
|
||||
@JsonKey(ignore: true)
|
||||
$TrackSourceQueryCopyWith<TrackSourceQuery> get copyWith =>
|
||||
throw _privateConstructorUsedError;
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
abstract class $TrackSourceQueryCopyWith<$Res> {
|
||||
factory $TrackSourceQueryCopyWith(
|
||||
TrackSourceQuery value, $Res Function(TrackSourceQuery) then) =
|
||||
_$TrackSourceQueryCopyWithImpl<$Res, TrackSourceQuery>;
|
||||
@useResult
|
||||
$Res call(
|
||||
{String id,
|
||||
String title,
|
||||
List<String> artists,
|
||||
String album,
|
||||
int durationMs,
|
||||
String isrc,
|
||||
bool explicit});
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
class _$TrackSourceQueryCopyWithImpl<$Res, $Val extends TrackSourceQuery>
|
||||
implements $TrackSourceQueryCopyWith<$Res> {
|
||||
_$TrackSourceQueryCopyWithImpl(this._value, this._then);
|
||||
|
||||
// ignore: unused_field
|
||||
final $Val _value;
|
||||
// ignore: unused_field
|
||||
final $Res Function($Val) _then;
|
||||
|
||||
@pragma('vm:prefer-inline')
|
||||
@override
|
||||
$Res call({
|
||||
Object? id = null,
|
||||
Object? title = null,
|
||||
Object? artists = null,
|
||||
Object? album = null,
|
||||
Object? durationMs = null,
|
||||
Object? isrc = null,
|
||||
Object? explicit = null,
|
||||
}) {
|
||||
return _then(_value.copyWith(
|
||||
id: null == id
|
||||
? _value.id
|
||||
: id // ignore: cast_nullable_to_non_nullable
|
||||
as String,
|
||||
title: null == title
|
||||
? _value.title
|
||||
: title // ignore: cast_nullable_to_non_nullable
|
||||
as String,
|
||||
artists: null == artists
|
||||
? _value.artists
|
||||
: artists // ignore: cast_nullable_to_non_nullable
|
||||
as List<String>,
|
||||
album: null == album
|
||||
? _value.album
|
||||
: album // ignore: cast_nullable_to_non_nullable
|
||||
as String,
|
||||
durationMs: null == durationMs
|
||||
? _value.durationMs
|
||||
: durationMs // ignore: cast_nullable_to_non_nullable
|
||||
as int,
|
||||
isrc: null == isrc
|
||||
? _value.isrc
|
||||
: isrc // ignore: cast_nullable_to_non_nullable
|
||||
as String,
|
||||
explicit: null == explicit
|
||||
? _value.explicit
|
||||
: explicit // ignore: cast_nullable_to_non_nullable
|
||||
as bool,
|
||||
) as $Val);
|
||||
}
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
abstract class _$$TrackSourceQueryImplCopyWith<$Res>
|
||||
implements $TrackSourceQueryCopyWith<$Res> {
|
||||
factory _$$TrackSourceQueryImplCopyWith(_$TrackSourceQueryImpl value,
|
||||
$Res Function(_$TrackSourceQueryImpl) then) =
|
||||
__$$TrackSourceQueryImplCopyWithImpl<$Res>;
|
||||
@override
|
||||
@useResult
|
||||
$Res call(
|
||||
{String id,
|
||||
String title,
|
||||
List<String> artists,
|
||||
String album,
|
||||
int durationMs,
|
||||
String isrc,
|
||||
bool explicit});
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
class __$$TrackSourceQueryImplCopyWithImpl<$Res>
|
||||
extends _$TrackSourceQueryCopyWithImpl<$Res, _$TrackSourceQueryImpl>
|
||||
implements _$$TrackSourceQueryImplCopyWith<$Res> {
|
||||
__$$TrackSourceQueryImplCopyWithImpl(_$TrackSourceQueryImpl _value,
|
||||
$Res Function(_$TrackSourceQueryImpl) _then)
|
||||
: super(_value, _then);
|
||||
|
||||
@pragma('vm:prefer-inline')
|
||||
@override
|
||||
$Res call({
|
||||
Object? id = null,
|
||||
Object? title = null,
|
||||
Object? artists = null,
|
||||
Object? album = null,
|
||||
Object? durationMs = null,
|
||||
Object? isrc = null,
|
||||
Object? explicit = null,
|
||||
}) {
|
||||
return _then(_$TrackSourceQueryImpl(
|
||||
id: null == id
|
||||
? _value.id
|
||||
: id // ignore: cast_nullable_to_non_nullable
|
||||
as String,
|
||||
title: null == title
|
||||
? _value.title
|
||||
: title // ignore: cast_nullable_to_non_nullable
|
||||
as String,
|
||||
artists: null == artists
|
||||
? _value._artists
|
||||
: artists // ignore: cast_nullable_to_non_nullable
|
||||
as List<String>,
|
||||
album: null == album
|
||||
? _value.album
|
||||
: album // ignore: cast_nullable_to_non_nullable
|
||||
as String,
|
||||
durationMs: null == durationMs
|
||||
? _value.durationMs
|
||||
: durationMs // ignore: cast_nullable_to_non_nullable
|
||||
as int,
|
||||
isrc: null == isrc
|
||||
? _value.isrc
|
||||
: isrc // ignore: cast_nullable_to_non_nullable
|
||||
as String,
|
||||
explicit: null == explicit
|
||||
? _value.explicit
|
||||
: explicit // ignore: cast_nullable_to_non_nullable
|
||||
as bool,
|
||||
));
|
||||
}
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
@JsonSerializable()
|
||||
class _$TrackSourceQueryImpl extends _TrackSourceQuery {
|
||||
_$TrackSourceQueryImpl(
|
||||
{required this.id,
|
||||
required this.title,
|
||||
required final List<String> artists,
|
||||
required this.album,
|
||||
required this.durationMs,
|
||||
required this.isrc,
|
||||
required this.explicit})
|
||||
: _artists = artists,
|
||||
super._();
|
||||
|
||||
factory _$TrackSourceQueryImpl.fromJson(Map<String, dynamic> json) =>
|
||||
_$$TrackSourceQueryImplFromJson(json);
|
||||
|
||||
@override
|
||||
final String id;
|
||||
@override
|
||||
final String title;
|
||||
final List<String> _artists;
|
||||
@override
|
||||
List<String> get artists {
|
||||
if (_artists is EqualUnmodifiableListView) return _artists;
|
||||
// ignore: implicit_dynamic_type
|
||||
return EqualUnmodifiableListView(_artists);
|
||||
}
|
||||
|
||||
@override
|
||||
final String album;
|
||||
@override
|
||||
final int durationMs;
|
||||
@override
|
||||
final String isrc;
|
||||
@override
|
||||
final bool explicit;
|
||||
|
||||
@override
|
||||
String toString() {
|
||||
return 'TrackSourceQuery(id: $id, title: $title, artists: $artists, album: $album, durationMs: $durationMs, isrc: $isrc, explicit: $explicit)';
|
||||
}
|
||||
|
||||
@override
|
||||
bool operator ==(Object other) {
|
||||
return identical(this, other) ||
|
||||
(other.runtimeType == runtimeType &&
|
||||
other is _$TrackSourceQueryImpl &&
|
||||
(identical(other.id, id) || other.id == id) &&
|
||||
(identical(other.title, title) || other.title == title) &&
|
||||
const DeepCollectionEquality().equals(other._artists, _artists) &&
|
||||
(identical(other.album, album) || other.album == album) &&
|
||||
(identical(other.durationMs, durationMs) ||
|
||||
other.durationMs == durationMs) &&
|
||||
(identical(other.isrc, isrc) || other.isrc == isrc) &&
|
||||
(identical(other.explicit, explicit) ||
|
||||
other.explicit == explicit));
|
||||
}
|
||||
|
||||
@JsonKey(ignore: true)
|
||||
@override
|
||||
int get hashCode => Object.hash(
|
||||
runtimeType,
|
||||
id,
|
||||
title,
|
||||
const DeepCollectionEquality().hash(_artists),
|
||||
album,
|
||||
durationMs,
|
||||
isrc,
|
||||
explicit);
|
||||
|
||||
@JsonKey(ignore: true)
|
||||
@override
|
||||
@pragma('vm:prefer-inline')
|
||||
_$$TrackSourceQueryImplCopyWith<_$TrackSourceQueryImpl> get copyWith =>
|
||||
__$$TrackSourceQueryImplCopyWithImpl<_$TrackSourceQueryImpl>(
|
||||
this, _$identity);
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return _$$TrackSourceQueryImplToJson(
|
||||
this,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
abstract class _TrackSourceQuery extends TrackSourceQuery {
|
||||
factory _TrackSourceQuery(
|
||||
{required final String id,
|
||||
required final String title,
|
||||
required final List<String> artists,
|
||||
required final String album,
|
||||
required final int durationMs,
|
||||
required final String isrc,
|
||||
required final bool explicit}) = _$TrackSourceQueryImpl;
|
||||
_TrackSourceQuery._() : super._();
|
||||
|
||||
factory _TrackSourceQuery.fromJson(Map<String, dynamic> json) =
|
||||
_$TrackSourceQueryImpl.fromJson;
|
||||
|
||||
@override
|
||||
String get id;
|
||||
@override
|
||||
String get title;
|
||||
@override
|
||||
List<String> get artists;
|
||||
@override
|
||||
String get album;
|
||||
@override
|
||||
int get durationMs;
|
||||
@override
|
||||
String get isrc;
|
||||
@override
|
||||
bool get explicit;
|
||||
@override
|
||||
@JsonKey(ignore: true)
|
||||
_$$TrackSourceQueryImplCopyWith<_$TrackSourceQueryImpl> get copyWith =>
|
||||
throw _privateConstructorUsedError;
|
||||
}
|
||||
|
||||
TrackSourceInfo _$TrackSourceInfoFromJson(Map<String, dynamic> json) {
|
||||
return _TrackSourceInfo.fromJson(json);
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
mixin _$TrackSourceInfo {
|
||||
String get id => throw _privateConstructorUsedError;
|
||||
String get title => throw _privateConstructorUsedError;
|
||||
String get artists => throw _privateConstructorUsedError;
|
||||
String get thumbnail => throw _privateConstructorUsedError;
|
||||
String get pageUrl => throw _privateConstructorUsedError;
|
||||
int get durationMs => throw _privateConstructorUsedError;
|
||||
|
||||
Map<String, dynamic> toJson() => throw _privateConstructorUsedError;
|
||||
@JsonKey(ignore: true)
|
||||
$TrackSourceInfoCopyWith<TrackSourceInfo> get copyWith =>
|
||||
throw _privateConstructorUsedError;
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
abstract class $TrackSourceInfoCopyWith<$Res> {
|
||||
factory $TrackSourceInfoCopyWith(
|
||||
TrackSourceInfo value, $Res Function(TrackSourceInfo) then) =
|
||||
_$TrackSourceInfoCopyWithImpl<$Res, TrackSourceInfo>;
|
||||
@useResult
|
||||
$Res call(
|
||||
{String id,
|
||||
String title,
|
||||
String artists,
|
||||
String thumbnail,
|
||||
String pageUrl,
|
||||
int durationMs});
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
class _$TrackSourceInfoCopyWithImpl<$Res, $Val extends TrackSourceInfo>
|
||||
implements $TrackSourceInfoCopyWith<$Res> {
|
||||
_$TrackSourceInfoCopyWithImpl(this._value, this._then);
|
||||
|
||||
// ignore: unused_field
|
||||
final $Val _value;
|
||||
// ignore: unused_field
|
||||
final $Res Function($Val) _then;
|
||||
|
||||
@pragma('vm:prefer-inline')
|
||||
@override
|
||||
$Res call({
|
||||
Object? id = null,
|
||||
Object? title = null,
|
||||
Object? artists = null,
|
||||
Object? thumbnail = null,
|
||||
Object? pageUrl = null,
|
||||
Object? durationMs = null,
|
||||
}) {
|
||||
return _then(_value.copyWith(
|
||||
id: null == id
|
||||
? _value.id
|
||||
: id // ignore: cast_nullable_to_non_nullable
|
||||
as String,
|
||||
title: null == title
|
||||
? _value.title
|
||||
: title // ignore: cast_nullable_to_non_nullable
|
||||
as String,
|
||||
artists: null == artists
|
||||
? _value.artists
|
||||
: artists // ignore: cast_nullable_to_non_nullable
|
||||
as String,
|
||||
thumbnail: null == thumbnail
|
||||
? _value.thumbnail
|
||||
: thumbnail // ignore: cast_nullable_to_non_nullable
|
||||
as String,
|
||||
pageUrl: null == pageUrl
|
||||
? _value.pageUrl
|
||||
: pageUrl // ignore: cast_nullable_to_non_nullable
|
||||
as String,
|
||||
durationMs: null == durationMs
|
||||
? _value.durationMs
|
||||
: durationMs // ignore: cast_nullable_to_non_nullable
|
||||
as int,
|
||||
) as $Val);
|
||||
}
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
abstract class _$$TrackSourceInfoImplCopyWith<$Res>
|
||||
implements $TrackSourceInfoCopyWith<$Res> {
|
||||
factory _$$TrackSourceInfoImplCopyWith(_$TrackSourceInfoImpl value,
|
||||
$Res Function(_$TrackSourceInfoImpl) then) =
|
||||
__$$TrackSourceInfoImplCopyWithImpl<$Res>;
|
||||
@override
|
||||
@useResult
|
||||
$Res call(
|
||||
{String id,
|
||||
String title,
|
||||
String artists,
|
||||
String thumbnail,
|
||||
String pageUrl,
|
||||
int durationMs});
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
class __$$TrackSourceInfoImplCopyWithImpl<$Res>
|
||||
extends _$TrackSourceInfoCopyWithImpl<$Res, _$TrackSourceInfoImpl>
|
||||
implements _$$TrackSourceInfoImplCopyWith<$Res> {
|
||||
__$$TrackSourceInfoImplCopyWithImpl(
|
||||
_$TrackSourceInfoImpl _value, $Res Function(_$TrackSourceInfoImpl) _then)
|
||||
: super(_value, _then);
|
||||
|
||||
@pragma('vm:prefer-inline')
|
||||
@override
|
||||
$Res call({
|
||||
Object? id = null,
|
||||
Object? title = null,
|
||||
Object? artists = null,
|
||||
Object? thumbnail = null,
|
||||
Object? pageUrl = null,
|
||||
Object? durationMs = null,
|
||||
}) {
|
||||
return _then(_$TrackSourceInfoImpl(
|
||||
id: null == id
|
||||
? _value.id
|
||||
: id // ignore: cast_nullable_to_non_nullable
|
||||
as String,
|
||||
title: null == title
|
||||
? _value.title
|
||||
: title // ignore: cast_nullable_to_non_nullable
|
||||
as String,
|
||||
artists: null == artists
|
||||
? _value.artists
|
||||
: artists // ignore: cast_nullable_to_non_nullable
|
||||
as String,
|
||||
thumbnail: null == thumbnail
|
||||
? _value.thumbnail
|
||||
: thumbnail // ignore: cast_nullable_to_non_nullable
|
||||
as String,
|
||||
pageUrl: null == pageUrl
|
||||
? _value.pageUrl
|
||||
: pageUrl // ignore: cast_nullable_to_non_nullable
|
||||
as String,
|
||||
durationMs: null == durationMs
|
||||
? _value.durationMs
|
||||
: durationMs // ignore: cast_nullable_to_non_nullable
|
||||
as int,
|
||||
));
|
||||
}
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
@JsonSerializable()
|
||||
class _$TrackSourceInfoImpl implements _TrackSourceInfo {
|
||||
_$TrackSourceInfoImpl(
|
||||
{required this.id,
|
||||
required this.title,
|
||||
required this.artists,
|
||||
required this.thumbnail,
|
||||
required this.pageUrl,
|
||||
required this.durationMs});
|
||||
|
||||
factory _$TrackSourceInfoImpl.fromJson(Map<String, dynamic> json) =>
|
||||
_$$TrackSourceInfoImplFromJson(json);
|
||||
|
||||
@override
|
||||
final String id;
|
||||
@override
|
||||
final String title;
|
||||
@override
|
||||
final String artists;
|
||||
@override
|
||||
final String thumbnail;
|
||||
@override
|
||||
final String pageUrl;
|
||||
@override
|
||||
final int durationMs;
|
||||
|
||||
@override
|
||||
String toString() {
|
||||
return 'TrackSourceInfo(id: $id, title: $title, artists: $artists, thumbnail: $thumbnail, pageUrl: $pageUrl, durationMs: $durationMs)';
|
||||
}
|
||||
|
||||
@override
|
||||
bool operator ==(Object other) {
|
||||
return identical(this, other) ||
|
||||
(other.runtimeType == runtimeType &&
|
||||
other is _$TrackSourceInfoImpl &&
|
||||
(identical(other.id, id) || other.id == id) &&
|
||||
(identical(other.title, title) || other.title == title) &&
|
||||
(identical(other.artists, artists) || other.artists == artists) &&
|
||||
(identical(other.thumbnail, thumbnail) ||
|
||||
other.thumbnail == thumbnail) &&
|
||||
(identical(other.pageUrl, pageUrl) || other.pageUrl == pageUrl) &&
|
||||
(identical(other.durationMs, durationMs) ||
|
||||
other.durationMs == durationMs));
|
||||
}
|
||||
|
||||
@JsonKey(ignore: true)
|
||||
@override
|
||||
int get hashCode => Object.hash(
|
||||
runtimeType, id, title, artists, thumbnail, pageUrl, durationMs);
|
||||
|
||||
@JsonKey(ignore: true)
|
||||
@override
|
||||
@pragma('vm:prefer-inline')
|
||||
_$$TrackSourceInfoImplCopyWith<_$TrackSourceInfoImpl> get copyWith =>
|
||||
__$$TrackSourceInfoImplCopyWithImpl<_$TrackSourceInfoImpl>(
|
||||
this, _$identity);
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return _$$TrackSourceInfoImplToJson(
|
||||
this,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
abstract class _TrackSourceInfo implements TrackSourceInfo {
|
||||
factory _TrackSourceInfo(
|
||||
{required final String id,
|
||||
required final String title,
|
||||
required final String artists,
|
||||
required final String thumbnail,
|
||||
required final String pageUrl,
|
||||
required final int durationMs}) = _$TrackSourceInfoImpl;
|
||||
|
||||
factory _TrackSourceInfo.fromJson(Map<String, dynamic> json) =
|
||||
_$TrackSourceInfoImpl.fromJson;
|
||||
|
||||
@override
|
||||
String get id;
|
||||
@override
|
||||
String get title;
|
||||
@override
|
||||
String get artists;
|
||||
@override
|
||||
String get thumbnail;
|
||||
@override
|
||||
String get pageUrl;
|
||||
@override
|
||||
int get durationMs;
|
||||
@override
|
||||
@JsonKey(ignore: true)
|
||||
_$$TrackSourceInfoImplCopyWith<_$TrackSourceInfoImpl> get copyWith =>
|
||||
throw _privateConstructorUsedError;
|
||||
}
|
||||
|
||||
TrackSource _$TrackSourceFromJson(Map<String, dynamic> json) {
|
||||
return _TrackSource.fromJson(json);
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
mixin _$TrackSource {
|
||||
String get url => throw _privateConstructorUsedError;
|
||||
SourceQualities get quality => throw _privateConstructorUsedError;
|
||||
SourceCodecs get codec => throw _privateConstructorUsedError;
|
||||
String get bitrate => throw _privateConstructorUsedError;
|
||||
|
||||
Map<String, dynamic> toJson() => throw _privateConstructorUsedError;
|
||||
@JsonKey(ignore: true)
|
||||
$TrackSourceCopyWith<TrackSource> get copyWith =>
|
||||
throw _privateConstructorUsedError;
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
abstract class $TrackSourceCopyWith<$Res> {
|
||||
factory $TrackSourceCopyWith(
|
||||
TrackSource value, $Res Function(TrackSource) then) =
|
||||
_$TrackSourceCopyWithImpl<$Res, TrackSource>;
|
||||
@useResult
|
||||
$Res call(
|
||||
{String url,
|
||||
SourceQualities quality,
|
||||
SourceCodecs codec,
|
||||
String bitrate});
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
class _$TrackSourceCopyWithImpl<$Res, $Val extends TrackSource>
|
||||
implements $TrackSourceCopyWith<$Res> {
|
||||
_$TrackSourceCopyWithImpl(this._value, this._then);
|
||||
|
||||
// ignore: unused_field
|
||||
final $Val _value;
|
||||
// ignore: unused_field
|
||||
final $Res Function($Val) _then;
|
||||
|
||||
@pragma('vm:prefer-inline')
|
||||
@override
|
||||
$Res call({
|
||||
Object? url = null,
|
||||
Object? quality = null,
|
||||
Object? codec = null,
|
||||
Object? bitrate = null,
|
||||
}) {
|
||||
return _then(_value.copyWith(
|
||||
url: null == url
|
||||
? _value.url
|
||||
: url // ignore: cast_nullable_to_non_nullable
|
||||
as String,
|
||||
quality: null == quality
|
||||
? _value.quality
|
||||
: quality // ignore: cast_nullable_to_non_nullable
|
||||
as SourceQualities,
|
||||
codec: null == codec
|
||||
? _value.codec
|
||||
: codec // ignore: cast_nullable_to_non_nullable
|
||||
as SourceCodecs,
|
||||
bitrate: null == bitrate
|
||||
? _value.bitrate
|
||||
: bitrate // ignore: cast_nullable_to_non_nullable
|
||||
as String,
|
||||
) as $Val);
|
||||
}
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
abstract class _$$TrackSourceImplCopyWith<$Res>
|
||||
implements $TrackSourceCopyWith<$Res> {
|
||||
factory _$$TrackSourceImplCopyWith(
|
||||
_$TrackSourceImpl value, $Res Function(_$TrackSourceImpl) then) =
|
||||
__$$TrackSourceImplCopyWithImpl<$Res>;
|
||||
@override
|
||||
@useResult
|
||||
$Res call(
|
||||
{String url,
|
||||
SourceQualities quality,
|
||||
SourceCodecs codec,
|
||||
String bitrate});
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
class __$$TrackSourceImplCopyWithImpl<$Res>
|
||||
extends _$TrackSourceCopyWithImpl<$Res, _$TrackSourceImpl>
|
||||
implements _$$TrackSourceImplCopyWith<$Res> {
|
||||
__$$TrackSourceImplCopyWithImpl(
|
||||
_$TrackSourceImpl _value, $Res Function(_$TrackSourceImpl) _then)
|
||||
: super(_value, _then);
|
||||
|
||||
@pragma('vm:prefer-inline')
|
||||
@override
|
||||
$Res call({
|
||||
Object? url = null,
|
||||
Object? quality = null,
|
||||
Object? codec = null,
|
||||
Object? bitrate = null,
|
||||
}) {
|
||||
return _then(_$TrackSourceImpl(
|
||||
url: null == url
|
||||
? _value.url
|
||||
: url // ignore: cast_nullable_to_non_nullable
|
||||
as String,
|
||||
quality: null == quality
|
||||
? _value.quality
|
||||
: quality // ignore: cast_nullable_to_non_nullable
|
||||
as SourceQualities,
|
||||
codec: null == codec
|
||||
? _value.codec
|
||||
: codec // ignore: cast_nullable_to_non_nullable
|
||||
as SourceCodecs,
|
||||
bitrate: null == bitrate
|
||||
? _value.bitrate
|
||||
: bitrate // ignore: cast_nullable_to_non_nullable
|
||||
as String,
|
||||
));
|
||||
}
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
@JsonSerializable()
|
||||
class _$TrackSourceImpl implements _TrackSource {
|
||||
_$TrackSourceImpl(
|
||||
{required this.url,
|
||||
required this.quality,
|
||||
required this.codec,
|
||||
required this.bitrate});
|
||||
|
||||
factory _$TrackSourceImpl.fromJson(Map<String, dynamic> json) =>
|
||||
_$$TrackSourceImplFromJson(json);
|
||||
|
||||
@override
|
||||
final String url;
|
||||
@override
|
||||
final SourceQualities quality;
|
||||
@override
|
||||
final SourceCodecs codec;
|
||||
@override
|
||||
final String bitrate;
|
||||
|
||||
@override
|
||||
String toString() {
|
||||
return 'TrackSource(url: $url, quality: $quality, codec: $codec, bitrate: $bitrate)';
|
||||
}
|
||||
|
||||
@override
|
||||
bool operator ==(Object other) {
|
||||
return identical(this, other) ||
|
||||
(other.runtimeType == runtimeType &&
|
||||
other is _$TrackSourceImpl &&
|
||||
(identical(other.url, url) || other.url == url) &&
|
||||
(identical(other.quality, quality) || other.quality == quality) &&
|
||||
(identical(other.codec, codec) || other.codec == codec) &&
|
||||
(identical(other.bitrate, bitrate) || other.bitrate == bitrate));
|
||||
}
|
||||
|
||||
@JsonKey(ignore: true)
|
||||
@override
|
||||
int get hashCode => Object.hash(runtimeType, url, quality, codec, bitrate);
|
||||
|
||||
@JsonKey(ignore: true)
|
||||
@override
|
||||
@pragma('vm:prefer-inline')
|
||||
_$$TrackSourceImplCopyWith<_$TrackSourceImpl> get copyWith =>
|
||||
__$$TrackSourceImplCopyWithImpl<_$TrackSourceImpl>(this, _$identity);
|
||||
|
||||
@override
|
||||
Map<String, dynamic> toJson() {
|
||||
return _$$TrackSourceImplToJson(
|
||||
this,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
abstract class _TrackSource implements TrackSource {
|
||||
factory _TrackSource(
|
||||
{required final String url,
|
||||
required final SourceQualities quality,
|
||||
required final SourceCodecs codec,
|
||||
required final String bitrate}) = _$TrackSourceImpl;
|
||||
|
||||
factory _TrackSource.fromJson(Map<String, dynamic> json) =
|
||||
_$TrackSourceImpl.fromJson;
|
||||
|
||||
@override
|
||||
String get url;
|
||||
@override
|
||||
SourceQualities get quality;
|
||||
@override
|
||||
SourceCodecs get codec;
|
||||
@override
|
||||
String get bitrate;
|
||||
@override
|
||||
@JsonKey(ignore: true)
|
||||
_$$TrackSourceImplCopyWith<_$TrackSourceImpl> get copyWith =>
|
||||
throw _privateConstructorUsedError;
|
||||
}
|
||||
62
pubspec.lock
62
pubspec.lock
@ -315,7 +315,7 @@ packages:
|
||||
source: hosted
|
||||
version: "1.3.1"
|
||||
change_case:
|
||||
dependency: transitive
|
||||
dependency: "direct main"
|
||||
description:
|
||||
name: change_case
|
||||
sha256: f4e08feaa845e75e4f5ad2b0e15f24813d7ea6c27e7b78252f0c17f752cf1157
|
||||
@ -446,10 +446,10 @@ packages:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: crypto
|
||||
sha256: "1e445881f28f22d6140f181e07737b22f1e099a5e1ff94b0af2f9e4a463f4855"
|
||||
sha256: c8ea0233063ba03258fbcf2ca4d6dadfefe14f02fab57702265467a19f27fadf
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "3.0.6"
|
||||
version: "3.0.7"
|
||||
csslib:
|
||||
dependency: transitive
|
||||
description:
|
||||
@ -458,14 +458,6 @@ packages:
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "1.0.2"
|
||||
dart_des:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: dart_des
|
||||
sha256: "0a66afb8883368c824497fd2a1fd67bdb1a785965a3956728382c03d40747c33"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "1.0.2"
|
||||
dart_mappable:
|
||||
dependency: transitive
|
||||
description:
|
||||
@ -963,7 +955,7 @@ packages:
|
||||
description:
|
||||
path: "."
|
||||
ref: HEAD
|
||||
resolved-ref: "916bde44cbead75125e8db842eb46bdcf211a79a"
|
||||
resolved-ref: "898fd4ebcef77f5177b08aa6f9b9047bd02c6b9b"
|
||||
url: "https://github.com/KRTirtho/flutter_new_pipe_extractor.git"
|
||||
source: git
|
||||
version: "0.1.0"
|
||||
@ -1221,10 +1213,10 @@ packages:
|
||||
description:
|
||||
path: "."
|
||||
ref: main
|
||||
resolved-ref: "01935a75640092af7947bfb21a497240376f0c83"
|
||||
resolved-ref: "32828156bc111d147709f8d644804227bbdfe8f1"
|
||||
url: "https://github.com/KRTirtho/hetu_spotube_plugin.git"
|
||||
source: git
|
||||
version: "0.0.1"
|
||||
version: "0.0.2"
|
||||
hetu_std:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
@ -1399,14 +1391,6 @@ packages:
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "0.20.2"
|
||||
invidious:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
name: invidious
|
||||
sha256: "27ef3a001df875665de15535dbc9099f44d12a59480018fb1e17377d4af0308d"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "0.1.1"
|
||||
io:
|
||||
dependency: "direct dev"
|
||||
description:
|
||||
@ -1431,14 +1415,6 @@ packages:
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "0.7.0"
|
||||
jiosaavn:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
name: jiosaavn
|
||||
sha256: d32b4f43f26488f942f5d7d19d748a1f2664ae3d41ff9c7d50eeb81705174bd2
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "0.1.0"
|
||||
jovial_misc:
|
||||
dependency: transitive
|
||||
description:
|
||||
@ -1463,6 +1439,14 @@ packages:
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "0.6.7"
|
||||
jsf:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
name: jsf
|
||||
sha256: "189ba3b9216702f9b6f2d8ea90fa5acaca13bbe5dd2f72fb38618005b41a737f"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "0.6.1"
|
||||
json_annotation:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
@ -1926,14 +1910,6 @@ packages:
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "0.0.4"
|
||||
piped_client:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
name: piped_client
|
||||
sha256: "947613e2a8d368b72cb36473de2c5c2784e4e72b2d3f17e5a5181b98b1a5436e"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "0.1.2"
|
||||
pixel_snap:
|
||||
dependency: transitive
|
||||
description:
|
||||
@ -2034,10 +2010,10 @@ packages:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: random_user_agents
|
||||
sha256: "19facde509a2482dababb454faf2aceff797a6ae08e80f91268c0c8a7420f03b"
|
||||
sha256: "95647149687167e82a7b39e1b4616fdebb574981b71b6f0cfca21b69f36293a8"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "1.0.15"
|
||||
version: "1.0.17"
|
||||
recase:
|
||||
dependency: transitive
|
||||
description:
|
||||
@ -2853,7 +2829,7 @@ packages:
|
||||
source: hosted
|
||||
version: "1.1.0"
|
||||
xml:
|
||||
dependency: "direct dev"
|
||||
dependency: transitive
|
||||
description:
|
||||
name: xml
|
||||
sha256: b015a8ad1c488f66851d762d3090a21c600e479dc75e68328c52774040cf9226
|
||||
@ -2872,10 +2848,10 @@ packages:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
name: youtube_explode_dart
|
||||
sha256: "9ff345caf8351c59eb1b7560837f761e08d2beaea3b4187637942715a31a6f58"
|
||||
sha256: add33de45d80c7f71a5e3dd464dd82fafd7fb5ab875fd303c023f30f76618325
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "2.5.2"
|
||||
version: "3.0.0"
|
||||
yt_dlp_dart:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user