upsert method

Future<SecretEntry> upsert(
  1. SecretKey key,
  2. SecretValue value
)

Implementation

Future<SecretEntry> upsert(SecretKey key, SecretValue value) =>
    upsertMany({key: value}).then((entries) => entries.first);