MagicVaultService.forTesting constructor
MagicVaultService.forTesting()
Named constructor for testing — skips FlutterSecureStorage initialisation.
Use this as the super constructor in FakeVaultService so that the
late final _storage field is never assigned and therefore never accessed.
Implementation
MagicVaultService.forTesting() : macOsUsesDataProtectionKeychain = true;