41 lines
1.6 KiB
Dart
41 lines
1.6 KiB
Dart
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
part of 'sleeping_habit_controller.dart';
|
|
|
|
// **************************************************************************
|
|
// JsonSerializableGenerator
|
|
// **************************************************************************
|
|
|
|
SleepingHabitModel _$SleepingHabitModelFromJson(Map<String, dynamic> json) =>
|
|
SleepingHabitModel()
|
|
..rxhxIsStart = json['rxhxIsStart'] as bool
|
|
..rxhxWakeTime = (json['rxhxWakeTime'] as List<dynamic>)
|
|
.map((e) => (e as num).toInt())
|
|
.toList()
|
|
..rxhxIsBell = json['rxhxIsBell'] as bool
|
|
..rxhxIsAnMo = json['rxhxIsAnMo'] as bool
|
|
..rxhxLocation = (json['rxhxLocation'] as num).toInt()
|
|
..rxhxWeeks = json['rxhxWeeks'] as List<dynamic>
|
|
..dhgyIsStart = json['dhgyIsStart'] as bool
|
|
..smysIsStart = json['smysIsStart'] as bool
|
|
..smysStartTime = (json['smysStartTime'] as List<dynamic>)
|
|
.map((e) => (e as num).toInt())
|
|
.toList()
|
|
..smysEndTime = (json['smysEndTime'] as List<dynamic>)
|
|
.map((e) => (e as num).toInt())
|
|
.toList();
|
|
|
|
Map<String, dynamic> _$SleepingHabitModelToJson(SleepingHabitModel instance) =>
|
|
<String, dynamic>{
|
|
'rxhxIsStart': instance.rxhxIsStart,
|
|
'rxhxWakeTime': instance.rxhxWakeTime,
|
|
'rxhxIsBell': instance.rxhxIsBell,
|
|
'rxhxIsAnMo': instance.rxhxIsAnMo,
|
|
'rxhxLocation': instance.rxhxLocation,
|
|
'rxhxWeeks': instance.rxhxWeeks,
|
|
'dhgyIsStart': instance.dhgyIsStart,
|
|
'smysIsStart': instance.smysIsStart,
|
|
'smysStartTime': instance.smysStartTime,
|
|
'smysEndTime': instance.smysEndTime,
|
|
};
|