beforeOpen property Null safety

OnBeforeOpen? beforeOpen
final

Executes after the database is ready to be used (ie. it has been opened and all migrations ran), but before any other queries will be sent. This makes it a suitable place to populate data after the database has been created or set sqlite PRAGMAS that you need.

Implementation

final OnBeforeOpen? beforeOpen;