SecureKeyReadOutcome class final

One preload read's classified result: status with the resolved value (found only) or a one-line error diagnostic (error only).

The diagnostic carries the exit code / stderr tail / timeout note — never the secret itself (reads print secrets to stdout, errors to stderr).

Constructors

SecureKeyReadOutcome(String name, SecureKeyReadStatus status, {String? value, String? error})
Creates an outcome; value and error are mutually exclusive.
const

Properties

error → String?
A one-line backend diagnostic — exit code, stderr tail, timeout or validation note. Never contains the secret.
final
hashCode → int
The hash code for this object.
no setterinherited
name → String
The store name that was read.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status → SecureKeyReadStatus
The classification.
final
value → String?
The resolved secret (found only; empty values read as absent).
final

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