VersionUpdate typedef
Custom version update with the signature Future<bool> func([String? version]) async {}. Use OnUpgrade().getCurrentVersionString to get the currently running app version.
Implementation
typedef VersionUpdate = Future<bool> Function([String? version]);