afterSnapshot method

  1. @protected
Future<void> afterSnapshot(
  1. String documentId,
  2. Snapshot snapshot
)

Runs once documentId has snapshotted, before createSnapshot returns.

Where a registry puts the snapshot it just took: on disk, in a map, or nowhere. The default does nothing.

Implementation

@protected
Future<void> afterSnapshot(String documentId, Snapshot snapshot) async {}