XSecureStoreException class

Thrown by XSecureStore when the platform store refuses an operation.

code is unsupported off the platforms that have a native store, and otherwise the platform's own failure code (store_failed, bad_args). Neither the key nor the value is part of message.

Implemented types

Constructors

XSecureStoreException(String code, [String? message])
Creates an exception with a wire code and an optional message.
const

Properties

code → String
Machine-readable failure kind.
final
hashCode → int
The hash code for this object.
no setterinherited
message → String?
Platform-supplied detail, when there is one.
final
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
toString() → String
A string representation of this object.
override

Operators

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