onSnapshotRestorationFailure method

  1. @protected
Future<void> onSnapshotRestorationFailure(
  1. dynamic snapshotData,
  2. int sequenceNumber,
  3. dynamic error
)
inherited

Called when snapshot restoration fails Override to handle snapshot restoration failures

Implementation

@protected
Future<void> onSnapshotRestorationFailure(
  dynamic snapshotData,
  int sequenceNumber,
  dynamic error,
) async {
  print('Snapshot restoration failed for aggregate $_aggregateId: $error');
}