currentVersion method

  1. @override
Future<String?> currentVersion()
override

Returns the current version or null if the DB is not initialized.

Implementation

@override
Future<String?> currentVersion() async =>
    appliedMigrations.lastOrNull?.version;