chore: update flutter and dependencies

This commit is contained in:
Dr.Blank 2026-01-10 16:46:06 +05:30
parent 06694f5f0b
commit a520136e01
No known key found for this signature in database
GPG key ID: BA5F87FF0560C57B
80 changed files with 7701 additions and 9141 deletions

View file

@ -6,42 +6,42 @@ part of 'nullable_player_settings.dart';
// JsonSerializableGenerator
// **************************************************************************
_$NullablePlayerSettingsImpl _$$NullablePlayerSettingsImplFromJson(
Map<String, dynamic> json) =>
_$NullablePlayerSettingsImpl(
miniPlayerSettings: json['miniPlayerSettings'] == null
? null
: MinimizedPlayerSettings.fromJson(
json['miniPlayerSettings'] as Map<String, dynamic>),
expandedPlayerSettings: json['expandedPlayerSettings'] == null
? null
: ExpandedPlayerSettings.fromJson(
json['expandedPlayerSettings'] as Map<String, dynamic>),
preferredDefaultVolume:
(json['preferredDefaultVolume'] as num?)?.toDouble(),
preferredDefaultSpeed:
(json['preferredDefaultSpeed'] as num?)?.toDouble(),
speedOptions: (json['speedOptions'] as List<dynamic>?)
?.map((e) => (e as num).toDouble())
.toList(),
sleepTimerSettings: json['sleepTimerSettings'] == null
? null
: SleepTimerSettings.fromJson(
json['sleepTimerSettings'] as Map<String, dynamic>),
playbackReportInterval: json['playbackReportInterval'] == null
? null
: Duration(
microseconds: (json['playbackReportInterval'] as num).toInt()),
);
_NullablePlayerSettings _$NullablePlayerSettingsFromJson(
Map<String, dynamic> json,
) => _NullablePlayerSettings(
miniPlayerSettings: json['miniPlayerSettings'] == null
? null
: MinimizedPlayerSettings.fromJson(
json['miniPlayerSettings'] as Map<String, dynamic>,
),
expandedPlayerSettings: json['expandedPlayerSettings'] == null
? null
: ExpandedPlayerSettings.fromJson(
json['expandedPlayerSettings'] as Map<String, dynamic>,
),
preferredDefaultVolume: (json['preferredDefaultVolume'] as num?)?.toDouble(),
preferredDefaultSpeed: (json['preferredDefaultSpeed'] as num?)?.toDouble(),
speedOptions: (json['speedOptions'] as List<dynamic>?)
?.map((e) => (e as num).toDouble())
.toList(),
sleepTimerSettings: json['sleepTimerSettings'] == null
? null
: SleepTimerSettings.fromJson(
json['sleepTimerSettings'] as Map<String, dynamic>,
),
playbackReportInterval: json['playbackReportInterval'] == null
? null
: Duration(microseconds: (json['playbackReportInterval'] as num).toInt()),
);
Map<String, dynamic> _$$NullablePlayerSettingsImplToJson(
_$NullablePlayerSettingsImpl instance) =>
<String, dynamic>{
'miniPlayerSettings': instance.miniPlayerSettings,
'expandedPlayerSettings': instance.expandedPlayerSettings,
'preferredDefaultVolume': instance.preferredDefaultVolume,
'preferredDefaultSpeed': instance.preferredDefaultSpeed,
'speedOptions': instance.speedOptions,
'sleepTimerSettings': instance.sleepTimerSettings,
'playbackReportInterval': instance.playbackReportInterval?.inMicroseconds,
};
Map<String, dynamic> _$NullablePlayerSettingsToJson(
_NullablePlayerSettings instance,
) => <String, dynamic>{
'miniPlayerSettings': instance.miniPlayerSettings,
'expandedPlayerSettings': instance.expandedPlayerSettings,
'preferredDefaultVolume': instance.preferredDefaultVolume,
'preferredDefaultSpeed': instance.preferredDefaultSpeed,
'speedOptions': instance.speedOptions,
'sleepTimerSettings': instance.sleepTimerSettings,
'playbackReportInterval': instance.playbackReportInterval?.inMicroseconds,
};