NetworkAuditCompanion class

Constructors

NetworkAuditCompanion.new({Value<int> id = const Value.absent(), Value<DateTime> createdAt = const Value.absent(), Value<double> totalDownload = const Value.absent(), Value<double> totalUpload = const Value.absent(), Value<double> downloadSpeed = const Value.absent(), Value<double> uploadSpeed = const Value.absent(), Value<bool> isWifi = const Value.absent(), Value<bool> isCellular = const Value.absent(), Value<bool> isEthernet = const Value.absent(), Value<String?> wifiSsid = const Value.absent()})
const
NetworkAuditCompanion.insert({Value<int> id = const Value.absent(), Value<DateTime> createdAt = const Value.absent(), required double totalDownload, required double totalUpload, required double downloadSpeed, required double uploadSpeed, required bool isWifi, required bool isCellular, required bool isEthernet, Value<String?> wifiSsid = const Value.absent()})

Properties

createdAt → Value<DateTime>
final
downloadSpeed → Value<double>
final
hashCode int
The hash code for this object.
no setterinherited
id → Value<int>
final
isCellular → Value<bool>
final
isEthernet → Value<bool>
final
isWifi → Value<bool>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
totalDownload → Value<double>
final
totalUpload → Value<double>
final
uploadSpeed → Value<double>
final
wifiSsid → Value<String?>
final

Methods

copyWith({Value<int>? id, Value<DateTime>? createdAt, Value<double>? totalDownload, Value<double>? totalUpload, Value<double>? downloadSpeed, Value<double>? uploadSpeed, Value<bool>? isWifi, Value<bool>? isCellular, Value<bool>? isEthernet, Value<String?>? wifiSsid}) NetworkAuditCompanion
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<double>? totalDownload, Expression<double>? totalUpload, Expression<double>? downloadSpeed, Expression<double>? uploadSpeed, Expression<bool>? isWifi, Expression<bool>? isCellular, Expression<bool>? isEthernet, Expression<String>? wifiSsid}) → Insertable<NetworkAuditData>