TomSecretStoreAvailability class abstract interface

A TomSecretStore that can say beforehand whether it can be used at all (an OS keychain may be locked, absent, or unreachable from the session).

A separate interface so the stores that always answer need not implement it; a caller asks store is TomSecretStoreAvailability.

Implementers

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

isAvailable() → Future<bool>
Whether the store can be read and written now, without a prompt.
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