toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (bootUpDuration != null) 'bootUpDuration': bootUpDuration!,
      if (bootUpTime != null) 'bootUpTime': bootUpTime!,
      if (reportTime != null) 'reportTime': reportTime!,
      if (shutdownDuration != null) 'shutdownDuration': shutdownDuration!,
      if (shutdownReason != null) 'shutdownReason': shutdownReason!,
      if (shutdownTime != null) 'shutdownTime': shutdownTime!,
    };