PostgreSQLPersistentStore(PostgreSQLConnectionFunction connectFunction)

Creates an instance of this type from a manual function.

Source

PostgreSQLPersistentStore(this.connectFunction) : super() {
  ResourceRegistry.add<PostgreSQLPersistentStore>(this, (store) => store.close());
}