mirror of
https://github.com/wger-project/flutter.git
synced 2026-12-02 10:09:11 +01:00
Regenerate code after the json_serializable and mockito bumps
This commit is contained in:
@@ -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? ?? '',
|
||||
);
|
||||
|
||||
@@ -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),
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user