Regenerate code after the json_serializable and mockito bumps

This commit is contained in:
Roland Geider
2026-10-26 22:48:24 +01:00
parent 6814711fe6
commit d7498bc18f
82 changed files with 146 additions and 4 deletions

View File

@@ -10,7 +10,7 @@ GalleryImage _$GalleryImageFromJson(Map<String, dynamic> json) {
$checkKeys(json, requiredKeys: const ['id', 'date']);
return GalleryImage(
id: (json['id'] as num?)?.toInt(),
date: utcIso8601ToLocalDate(json['date'] as String),
date: json['date'] == null ? null : utcIso8601ToLocalDate(json['date'] as String),
imagePath: json['image'] as String?,
description: json['description'] as String? ?? '',
);

View File

@@ -21,7 +21,7 @@ Routine _$RoutineFromJson(Map<String, dynamic> json) {
);
return Routine(
id: (json['id'] as num?)?.toInt(),
created: utcIso8601ToLocalDate(json['created'] as String),
created: json['created'] == null ? null : utcIso8601ToLocalDate(json['created'] as String),
name: json['name'] as String,
start: json['start'] == null ? null : DateTime.parse(json['start'] as String),
end: json['end'] == null ? null : DateTime.parse(json['end'] as String),

View File

@@ -40,7 +40,7 @@ final class GymLogNotifierProvider extends $NotifierProvider<GymLogNotifier, Log
}
}
String _$gymLogNotifierHash() => r'f19f65118fc2746149178debd2f5fcb1cdfcab3c';
String _$gymLogNotifierHash() => r'd50243d3e4a87c02812e15b3c5bb207a8ef2d1b6';
abstract class _$GymLogNotifier extends $Notifier<Log?> {
Log? build();

View File

@@ -40,7 +40,7 @@ final class GymStateNotifierProvider extends $NotifierProvider<GymStateNotifier,
}
}
String _$gymStateNotifierHash() => r'be5943c4201793dc053ef44a4a243226e6d38526';
String _$gymStateNotifierHash() => r'6edef80da81e457a1d2b600dc205194d34adb407';
abstract class _$GymStateNotifier extends $Notifier<GymModeState> {
GymModeState build();