builder static method

PassnoteBuilder builder({
  1. required String appId,
  2. required String salt,
})

Starts a staged configuration for a Passnote instance.

Set overrides on the returned PassnoteBuilder, then await PassnoteBuilder.open. Any slot left unset comes from the PassnoteDefaults the passnote umbrella installs on import.

final passnote = await Passnote.builder(
  appId: 'shopping',
  salt: 'shopping:v1',
).open();

Implementation

static PassnoteBuilder builder({
  required String appId,
  required String salt,
}) =>
    PassnoteBuilder._(appId, salt);