copyWith method
Implementation
AppUsageAuditData copyWith(
{int? id,
DateTime? createdAt,
String? date,
String? packageName,
int? totalTimeVisible,
int? totalTimeInForeground,
int? totalTimeForegroundServiceUsed}) =>
AppUsageAuditData(
id: id ?? this.id,
createdAt: createdAt ?? this.createdAt,
date: date ?? this.date,
packageName: packageName ?? this.packageName,
totalTimeVisible: totalTimeVisible ?? this.totalTimeVisible,
totalTimeInForeground:
totalTimeInForeground ?? this.totalTimeInForeground,
totalTimeForegroundServiceUsed: totalTimeForegroundServiceUsed ??
this.totalTimeForegroundServiceUsed,
);