toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final bootUpDuration = this.bootUpDuration;
  final bootUpTime = this.bootUpTime;
  final reportTime = this.reportTime;
  final shutdownDuration = this.shutdownDuration;
  final shutdownReason = this.shutdownReason;
  final shutdownTime = this.shutdownTime;
  return {
    'bootUpDuration': ?bootUpDuration,
    'bootUpTime': ?bootUpTime,
    'reportTime': ?reportTime,
    'shutdownDuration': ?shutdownDuration,
    'shutdownReason': ?shutdownReason,
    'shutdownTime': ?shutdownTime,
  };
}