SecretStorage class

Represents a storage utility for secrets, information that is sensitive.

Available extensions
Annotations
  • @JS()
  • @staticInterop
  • @anonymous

Constructors

SecretStorage({Event<SecretStorageChangeEvent>? onDidChange, Future get(String)?, Future store(String, String)?, Future delete(String)?})
factory

Properties

delete Future Function(String)

Available on SecretStorage, provided by the SecretStorage$Typings extension

getter/setter pair
get Future Function(String)

Available on SecretStorage, provided by the SecretStorage$Typings extension

getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
onDidChange Event<SecretStorageChangeEvent>

Available on SecretStorage, provided by the SecretStorage$Typings extension

Fires when a secret is stored or deleted.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
store Future Function(String, String)

Available on SecretStorage, provided by the SecretStorage$Typings extension

getter/setter pair

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