Files
flutter/lib/models/workouts/weight_unit.g.dart
Roland Geider ae6db6ee07 Move to riverpod three
Needed to downgrade build_runner and mockito for now
2025-11-11 13:22:18 +01:00

21 lines
607 B
Dart

// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'weight_unit.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
WeightUnit _$WeightUnitFromJson(Map<String, dynamic> json) {
$checkKeys(json, requiredKeys: const ['id', 'name']);
return WeightUnit(
id: (json['id'] as num).toInt(),
name: json['name'] as String,
);
}
Map<String, dynamic> _$WeightUnitToJson(WeightUnit instance) => <String, dynamic>{
'id': instance.id,
'name': instance.name,
};