SystemUptime class

Constructors

SystemUptime({required double bootTime, required double uptime, required String uptimeFormatted, required DateTime bootDate})
const
SystemUptime.fromJson(Map<String, dynamic> json)
factory

Properties

bootDate DateTime
final
bootDateFormatted String
no setter
bootTime double
final
hasBeenRunningForADay bool
no setter
hasBeenRunningForAWeek bool
no setter
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shortUptimeDescription String
no setter
uptime double
final
uptimeDays double
no setter
uptimeFormatted String
final
uptimeHours double
no setter

Methods

copyWith({double? bootTime, double? uptime, String? uptimeFormatted, DateTime? bootDate}) SystemUptime
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override