replay method

  1. @override
Future<void> replay(
  1. AccessLogEntry entry
)
override

Appends entry verbatim, preserving its requestDateTime. See AtAccessLog.replay.

Implementation

@override
Future<void> replay(AccessLogEntry entry) async {
  try {
    await _accessLogKeyStore.add(entry);
  } on Exception catch (e) {
    throw DataStoreException(
        'Exception replaying to access log:${e.toString()}');
  } on HiveError catch (e) {
    throw DataStoreException(
        'Hive error replaying to access log:${e.toString()}');
  }
}