NodesCompanion.insert constructor
NodesCompanion.insert({
- required String nodeId,
- Value<
int> role = const Value.absent(), - Value<
String?> groupId = const Value.absent(), - required int lastSeen,
- Value<
int> hopCount = const Value.absent(), - Value<
String?> displayName = const Value.absent(), - Value<
int?> batteryLevel = const Value.absent(), - Value<
bool> hasInternetAccess = const Value.absent(), - Value<
String?> metadata = const Value.absent(), - Value<
int> rowid = const Value.absent(),
Implementation
NodesCompanion.insert({
required String nodeId,
this.role = const Value.absent(),
this.groupId = const Value.absent(),
required int lastSeen,
this.hopCount = const Value.absent(),
this.displayName = const Value.absent(),
this.batteryLevel = const Value.absent(),
this.hasInternetAccess = const Value.absent(),
this.metadata = const Value.absent(),
this.rowid = const Value.absent(),
}) : nodeId = Value(nodeId),
lastSeen = Value(lastSeen);