DatabaseSetup typedef Null safety

void DatabaseSetup(
  1. Database database
)

Signature of a function that can perform setup work on a database before moor is fully ready.

This could be used to, for instance, set encryption keys for SQLCipher implementations.

Implementation

typedef DatabaseSetup = void Function(Database database);