OTPCredential class

Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers. The interface of the WebOTP API contains the attributes that are returned when a new one-time password is retrieved.

Credential

OTPCredential

Implemented types
Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

OTPCredential()
factory

Properties

code String

Available on OTPCredential, provided by the PropsOTPCredential extension

no setter
hashCode int
The hash code for this object.
no setterinherited
id String

Available on Credential, provided by the PropsCredential extension

no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String

Available on Credential, provided by the PropsCredential extension

no setter

Methods

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