toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() {
final enterHibernationCount = this.enterHibernationCount;
final enterPoweroffCount = this.enterPoweroffCount;
final enterSleepCount = this.enterSleepCount;
final reportTime = this.reportTime;
final uptimeRuntimeDuration = this.uptimeRuntimeDuration;
return {
'enterHibernationCount': ?enterHibernationCount,
'enterPoweroffCount': ?enterPoweroffCount,
'enterSleepCount': ?enterSleepCount,
'reportTime': ?reportTime,
'uptimeRuntimeDuration': ?uptimeRuntimeDuration,
};
}