void checkVersion(String api, String version, int numVersion) { if (libVersionNumber < numVersion) { throw dbsql.DatabaseException('API $api is not available before $version'); } }