FakeAndroidSignInKit constructor

FakeAndroidSignInKit({
  1. String googleEmail = 'test@example.com',
  2. String? googleName = 'Test User',
  3. List<SavedPassword> passwords = const [],
  4. FakeSignInPick pick = FakeSignInPick.google,
  5. String passkeyResponseJson = _passkeyResponse,
  6. String? restoreKeyResponseJson,
  7. String? digitalCredentialJson,
})

A fake that signs in as googleEmail and offers passwords. Call install to use it.

Implementation

FakeAndroidSignInKit({
  this.googleEmail = 'test@example.com',
  this.googleName = 'Test User',
  List<SavedPassword> passwords = const [],
  this.pick = FakeSignInPick.google,
  this.passkeyResponseJson = _passkeyResponse,
  this.restoreKeyResponseJson,
  this.digitalCredentialJson,
}) : passwords = [...passwords];