AppUsageAuditCompanion.insert constructor
AppUsageAuditCompanion.insert({
- Value<
int> id = const Value.absent(), - Value<
DateTime> createdAt = const Value.absent(), - required String date,
- required String packageName,
- Value<
int> totalTimeVisible = const Value.absent(), - Value<
int> totalTimeInForeground = const Value.absent(), - Value<
int> totalTimeForegroundServiceUsed = const Value.absent(),
Implementation
AppUsageAuditCompanion.insert({
this.id = const Value.absent(),
this.createdAt = const Value.absent(),
required String date,
required String packageName,
this.totalTimeVisible = const Value.absent(),
this.totalTimeInForeground = const Value.absent(),
this.totalTimeForegroundServiceUsed = const Value.absent(),
}) : date = Value(date),
packageName = Value(packageName);