OutOfBandPayload class Null safety

This object describes the contents that are sent by nevisFIDO in the out-of-band use case to start an operation (registration, authentication or deregistration).

This object can be obtained from its JSON representation, which is included in a push notification message, in a QR code or in a universal link, depending on the out-of-band mechanism used.

Constructors

OutOfBandPayload({required ContentType contentType, required String version, required RedeemData redeemData, String? data})
Default constructor for OutOfBandPayload.
factory
OutOfBandPayload.fromJson(Map<String, dynamic> json)
Alternate constructor that creates OutOfBandPayload from a json.
factory

Properties

contentType ContentType
The content type of the NMA (Nevis Mobile Authentication) data.
read-only
data → String?
The optional additional information that it was provided when triggering the out-of-band operation.
read-only
hashCode → int
The hash code for this object.
read-onlyinherited
redeemData RedeemData
The object containing the redemption information.
read-only
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited
version → String
The version of the NMA (Nevis Mobile Authentication) data.
read-only

Methods

fromJson(Map<String, dynamic> json) → dynamic
Returns a value of the type you specify, deserialized from a JSON object.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Returns a JSON-encoded representation of the value you supply.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited