DatabaseSetup typedef Null safety

DatabaseSetup = void Function(Database database)

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

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

Implementation

typedef DatabaseSetup = void Function(Database database);