VaultTestContext<T extends Store<VaultInfo, VaultEntry>> class abstract

Base class for all the vault test contexts.

Inheritance

Constructors

VaultTestContext(ValueGenerator generator)
Builds a new VaultTestContext

Properties

generator ValueGenerator
A value generator
finalinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

deleteStore(T store) Future<void>
Deletes a store
inherited
newEntry(int seed, {String? key, DateTime? creationTime}) → VaultEntry
Creates a new VaultEntry with the provided ValueGenerator and seed
override
newStore() Future<T>
Creates a new store
inherited
newVault<V>(T store, {String? name, dynamic fromEncodable(Map<String, dynamic>)?, VaultLoader<V>? vaultLoader, Clock? clock, EventListenerMode? eventListenerMode, bool? statsEnabled, VaultStats? stats}) Future<Vault<V>>
Creates a new vault
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited