copyWith method

SystemUptime copyWith({
  1. double? bootTime,
  2. double? uptime,
  3. String? uptimeFormatted,
  4. DateTime? bootDate,
})

Implementation

SystemUptime copyWith({
  double? bootTime,
  double? uptime,
  String? uptimeFormatted,
  DateTime? bootDate,
}) {
  return SystemUptime(
    bootTime: bootTime ?? this.bootTime,
    uptime: uptime ?? this.uptime,
    uptimeFormatted: uptimeFormatted ?? this.uptimeFormatted,
    bootDate: bootDate ?? this.bootDate,
  );
}