copyWith method
NodesCompanion
copyWith(
{ - Value<String>? nodeId,
- Value<int>? role,
- Value<String?>? groupId,
- Value<int>? lastSeen,
- Value<int>? hopCount,
- Value<String?>? displayName,
- Value<int?>? batteryLevel,
- Value<bool>? hasInternetAccess,
- Value<String?>? metadata,
- Value<int>? rowid,
})
Implementation
NodesCompanion copyWith({
Value<String>? nodeId,
Value<int>? role,
Value<String?>? groupId,
Value<int>? lastSeen,
Value<int>? hopCount,
Value<String?>? displayName,
Value<int?>? batteryLevel,
Value<bool>? hasInternetAccess,
Value<String?>? metadata,
Value<int>? rowid,
}) {
return NodesCompanion(
nodeId: nodeId ?? this.nodeId,
role: role ?? this.role,
groupId: groupId ?? this.groupId,
lastSeen: lastSeen ?? this.lastSeen,
hopCount: hopCount ?? this.hopCount,
displayName: displayName ?? this.displayName,
batteryLevel: batteryLevel ?? this.batteryLevel,
hasInternetAccess: hasInternetAccess ?? this.hasInternetAccess,
metadata: metadata ?? this.metadata,
rowid: rowid ?? this.rowid,
);
}