debugSetPerformSnapshot method

  1. @visibleForTesting
void debugSetPerformSnapshot(
  1. Future<DateTime> fun()?
)

Override the snapshot function for testing.

Implementation

@visibleForTesting
void debugSetPerformSnapshot(Future<DateTime> Function()? fun) {
  _debugPerformSnapshotFun = fun;
}