connect method Null safety

Future<DatabaseConnection> connect(
  1. {bool isolateDebugLog = false}

Connects to this DriftIsolate from another isolate.

All operations on the returned DatabaseConnection will be executed on a background isolate. Setting the isolateDebugLog is only helpful when debugging drift itself.


// todo: breaking: Make synchronous in drift 2
Future<DatabaseConnection> connect({bool isolateDebugLog = false}) async {
  return remote(_open(), debugLog: isolateDebugLog, serialize: serialize);