setObjectLastTimestamp method

  1. @override
Future<void> setObjectLastTimestamp(
  1. String vasatObjectName,
  2. int timestamp
)
override

Implementation

@override
Future<void> setObjectLastTimestamp(String vasatObjectName, int timestamp) {
  return SharedPreferences.getInstance()
    .then((prefs) {
      return prefs.setInt(this.dbName + "_" + vasatObjectName, timestamp);
    });
}