read method

Future<String?> read()

Returns the skipped version stored in the database.

Implementation

Future<String?> read() async {
  return await safe<String?>((db) async {
    final stmt = db.select(db.skippedVersions)..where((e) => e.id.equals(0));
    final SkippedVersionRow? row = await stmt.getSingleOrNull();
    return row?.skipped;
  }, exclusive: false);
}