FakeWalletSession constructor

FakeWalletSession({
  1. SyncStatus current = const SyncStatus.idle(),
  2. WalletState? snapshotValue,
  3. bool failOnSubscribe = false,
  4. bool dropAfterReplay = false,
  5. bool snapshotThrows = false,
})

Implementation

FakeWalletSession({
  SyncStatus current = const SyncStatus.idle(),
  WalletState? snapshotValue,
  this.failOnSubscribe = false,
  this.dropAfterReplay = false,
  this.snapshotThrows = false,
}) : _current = current,
     _snapshot = snapshotValue ?? walletStateFixture(syncStatus: current);