setMockDatabaseFactory function
Change the default factory used.
Test only.
Implementation
@visibleForTesting
void setMockDatabaseFactory(DatabaseFactory? factory) {
// ignore: invalid_use_of_visible_for_testing_member
sqfliteDatabaseFactory = factory as SqfliteDatabaseFactory?;
}