getObjectLastTimestamp method

  1. @override
Future<int?> getObjectLastTimestamp(
  1. String vasatObjectName
)
override

Implementation

@override
Future<int?> getObjectLastTimestamp(String vasatObjectName) {
  return SharedPreferences.getInstance()
    .then((prefs) {
      return prefs.getInt(this.dbName + "_" + vasatObjectName);
    });
}