write abstract method

Future<void> write(
  1. String handle,
  2. String secret, {
  3. TomGatedLifetime lifetime = TomGatedLifetime.saved,
  4. String? reason,
})

Stores secret under handle, replacing any current value. A store whose key exists only after the check (Windows Hello) shows the prompt with reason here too. Throws TomGatedSecretStoreException.

Implementation

Future<void> write(
  String handle,
  String secret, {
  TomGatedLifetime lifetime = TomGatedLifetime.saved,
  String? reason,
});