OnCreate typedef Null safety

OnCreate = Future<void> Function(Migrator m)

Signature of a function that will be invoked when a database is created.

Implementation

typedef OnCreate = Future<void> Function(Migrator m);