AuthEmailOtpFixture<TContext> class
final
Captures email OTP delivery and supplies deterministic numeric codes.
Constructors
-
AuthEmailOtpFixture({Iterable<
String> codes = const <String>['123456']}) -
Creates an email OTP fixture from
codes.
Properties
-
deliveries
→ AuthTestDeliveryLog<
AuthEmailOtpDelivery< TContext> > -
Raw delivery payloads retained in memory for the test only.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
plugin(
{Duration expiresIn = const Duration(minutes: 5), int allowedAttempts = 3, bool disableSignUp = false}) → EmailOtpPlugin< TContext> - Creates a real email OTP plugin wired to this fixture.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited