at method

  1. @override
DBM at(
  1. int version
)
override

Read-only view at a specific version.

Implementation

@override
DBM at(final int version) {
  final available = _store.versions;
  if (!available.contains(version)) {
    throw DBMException(404, 'Version $version not available');
  }
  return _SnapshotDBM(this, version);
}