pragmaStatements method
Implementation
@override
List<String> pragmaStatements(SqliteOpenOptions options) {
final basePragmaStatements = super.pragmaStatements(options);
return [
// Set the encryption key as the first statement
"PRAGMA KEY = ${quoteString(key)}",
// Include the default statements afterwards
for (var statement in basePragmaStatements) statement
];
}