custom static method
Insertable<NetworkAuditData>
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,
Implementation
static Insertable<NetworkAuditData> 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,
}) {
return RawValuesInsertable({
if (id != null) 'id': id,
if (createdAt != null) 'created_at': createdAt,
if (totalDownload != null) 'total_download': totalDownload,
if (totalUpload != null) 'total_upload': totalUpload,
if (downloadSpeed != null) 'download_speed': downloadSpeed,
if (uploadSpeed != null) 'upload_speed': uploadSpeed,
if (isWifi != null) 'is_wifi': isWifi,
if (isCellular != null) 'is_cellular': isCellular,
if (isEthernet != null) 'is_ethernet': isEthernet,
if (wifiSsid != null) 'wifi_ssid': wifiSsid,
});
}