AppUsageAuditCompanion class

Constructors

AppUsageAuditCompanion.new({Value<int> id = const Value.absent(), Value<DateTime> createdAt = const Value.absent(), Value<String> date = const Value.absent(), Value<String> packageName = const Value.absent(), Value<int> totalTimeVisible = const Value.absent(), Value<int> totalTimeInForeground = const Value.absent(), Value<int> totalTimeForegroundServiceUsed = const Value.absent()})
const
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()})

Properties

createdAt → Value<DateTime>
final
date → Value<String>
final
hashCode int
The hash code for this object.
no setterinherited
id → Value<int>
final
packageName → Value<String>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
totalTimeForegroundServiceUsed → Value<int>
final
totalTimeInForeground → Value<int>
final
totalTimeVisible → Value<int>
final

Methods

copyWith({Value<int>? id, Value<DateTime>? createdAt, Value<String>? date, Value<String>? packageName, Value<int>? totalTimeVisible, Value<int>? totalTimeInForeground, Value<int>? totalTimeForegroundServiceUsed}) AppUsageAuditCompanion
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toColumns(bool nullToAbsent) Map<String, Expression<Object>>
Converts this object into a map of column names to expressions to insert or update.
toString() String
A string representation of this object.
override

Operators

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

Static Methods

custom({Expression<int>? id, Expression<DateTime>? createdAt, Expression<String>? date, Expression<String>? packageName, Expression<int>? totalTimeVisible, Expression<int>? totalTimeInForeground, Expression<int>? totalTimeForegroundServiceUsed}) → Insertable<AppUsageAuditData>