isolateConnectionFactory method
A connection factory that can be passed to different isolates.
Use this to access the database in background isolates.
Implementation
IsolateConnectionFactory<CommonDatabase> isolateConnectionFactory() {
return database.isolateConnectionFactory();
}