PostgreSQLPersistentStore(PostgreSQLConnectionFunction connectFunction)

Creates an instance of this type from a manual function.

Source

PostgreSQLPersistentStore(this.connectFunction) : super() {
  ServiceRegistry.defaultInstance.register<PostgreSQLPersistentStore>(this, (store) => store.close());
}