BatteryAuditCompanion class
Constructors
-
BatteryAuditCompanion.new({Value<
int> id = const Value.absent(), Value<DateTime> createdAt = const Value.absent(), Value<int> percentage = const Value.absent(), Value<bool> isCharging = const Value.absent(), Value<BatteryAuditStatus> status = const Value.absent(), Value<int> capacity = const Value.absent(), Value<bool> isScreenOn = const Value.absent()}) -
const
-
BatteryAuditCompanion.insert({Value<
int> id = const Value.absent(), Value<DateTime> createdAt = const Value.absent(), required int percentage, required bool isCharging, required BatteryAuditStatus status, required int capacity, required bool isScreenOn})
Properties
-
capacity
→ Value<
int> -
final
-
createdAt
→ Value<
DateTime> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
id
→ Value<
int> -
final
-
isCharging
→ Value<
bool> -
final
-
isScreenOn
→ Value<
bool> -
final
-
percentage
→ Value<
int> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
status
→ Value<
BatteryAuditStatus> -
final
Methods
-
copyWith(
{Value< int> ? id, Value<DateTime> ? createdAt, Value<int> ? percentage, Value<bool> ? isCharging, Value<BatteryAuditStatus> ? status, Value<int> ? capacity, Value<bool> ? isScreenOn}) → BatteryAuditCompanion -
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