OutOfBandPayloadError class Null safety

The error returned when there is a problem with the out-of-band payload: it cannot be decrypted or the provided JSON is not properly formatted.

Inheritance
Implementers

Constructors

OutOfBandPayloadError.decryptionError(Map<String, dynamic> json)
The encrypted contents of the out-of-band payload could not be decrypted.
factory
OutOfBandPayloadError.deviceProtectionError(Map<String, dynamic> json)
An error that indicates that some form of tampering was found in the application.
factory
OutOfBandPayloadError.fromJson(Map<String, dynamic> json)
Alternate constructor to create an OutOfBandPayloadError from json.
factory
OutOfBandPayloadError.malformedPayload(Map<String, dynamic> json)
A violation of the out-of-band payload (contents of OutOfBandPayload occurred.
factory
OutOfBandPayloadError.noDeviceLockError(Map<String, dynamic> json)
An error that indicates that the device has no secure lock screen.
factory
OutOfBandPayloadError.unknown(Map<String, dynamic> json)
Unknown out-of-band payload error, handling not categorized error cases.
factory

Properties

cause → String?
The exception (if any) that caused this error.
read-onlyinherited
description → String
Provides details about the error that occurred.
read-onlyinherited
hashCode → int
The hash code for this object.
read-onlyinherited
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited

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