mirror of
https://github.com/wger-project/flutter.git
synced 2026-02-18 00:17:48 +01:00
Seems the default dart formatting rules changed recently, and this was causing huge diffs in branches
21 lines
631 B
Dart
21 lines
631 B
Dart
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
part of 'repetition_unit.dart';
|
|
|
|
// **************************************************************************
|
|
// JsonSerializableGenerator
|
|
// **************************************************************************
|
|
|
|
RepetitionUnit _$RepetitionUnitFromJson(Map<String, dynamic> json) {
|
|
$checkKeys(json, requiredKeys: const ['id', 'name']);
|
|
return RepetitionUnit(
|
|
id: (json['id'] as num).toInt(),
|
|
name: json['name'] as String,
|
|
);
|
|
}
|
|
|
|
Map<String, dynamic> _$RepetitionUnitToJson(RepetitionUnit instance) => <String, dynamic>{
|
|
'id': instance.id,
|
|
'name': instance.name,
|
|
};
|