toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final deepSleepStats = this.deepSleepStats;
  final fullSleepStats = this.fullSleepStats;
  final lightSleepStats = this.lightSleepStats;
  final remSleepStats = this.remSleepStats;
  final sampleTime = this.sampleTime;
  return {
    'deepSleepStats': ?deepSleepStats,
    'fullSleepStats': ?fullSleepStats,
    'lightSleepStats': ?lightSleepStats,
    'remSleepStats': ?remSleepStats,
    'sampleTime': ?sampleTime,
  };
}