$$NetworkAuditTableTableManager constructor

$$NetworkAuditTableTableManager(
  1. _$ACLDatabase db,
  2. $NetworkAuditTable table
)

Implementation

$$NetworkAuditTableTableManager(_$ACLDatabase db, $NetworkAuditTable table)
    : super(TableManagerState(
        db: db,
        table: table,
        createFilteringComposer: () =>
            $$NetworkAuditTableFilterComposer($db: db, $table: table),
        createOrderingComposer: () =>
            $$NetworkAuditTableOrderingComposer($db: db, $table: table),
        createComputedFieldComposer: () =>
            $$NetworkAuditTableAnnotationComposer($db: db, $table: table),
        updateCompanionCallback: ({
          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(),
        }) =>
            NetworkAuditCompanion(
          id: id,
          createdAt: createdAt,
          totalDownload: totalDownload,
          totalUpload: totalUpload,
          downloadSpeed: downloadSpeed,
          uploadSpeed: uploadSpeed,
          isWifi: isWifi,
          isCellular: isCellular,
          isEthernet: isEthernet,
          wifiSsid: wifiSsid,
        ),
        createCompanionCallback: ({
          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(),
        }) =>
            NetworkAuditCompanion.insert(
          id: id,
          createdAt: createdAt,
          totalDownload: totalDownload,
          totalUpload: totalUpload,
          downloadSpeed: downloadSpeed,
          uploadSpeed: uploadSpeed,
          isWifi: isWifi,
          isCellular: isCellular,
          isEthernet: isEthernet,
          wifiSsid: wifiSsid,
        ),
        withReferenceMapper: (p0) => p0
            .map((e) => (e.readTable(table), BaseReferences(db, table, e)))
            .toList(),
        prefetchHooksCallback: null,
      ));