addPassphrase method

  1. @override
void addPassphrase(
  1. String passphraseHash,
  2. String? licenseId,
  3. String? provider,
  4. String? userId,
)
override

Implementation

@override
void addPassphrase(String passphraseHash, String? licenseId, String? provider,
        String? userId) =>
    database.insert(
        TransactionsTable.name,
        {
          TransactionsTable.id: licenseId,
          TransactionsTable.origin: provider,
          TransactionsTable.userid: userId,
          TransactionsTable.passphrase: passphraseHash,
        },
        conflictAlgorithm: ConflictAlgorithm.replace);