ensureInitialized method

void ensureInitialized({
  1. required String pathToFile,
  2. required DatabaseMiniGeneralLibraryBaseOptions databaseMiniGeneralLibraryBaseOptions,
})

Implementation

void ensureInitialized({
  required String pathToFile,
  required DatabaseMiniGeneralLibraryBaseOptions
      databaseMiniGeneralLibraryBaseOptions,
}) {
  if (isEnsureInitialized) {
    return;
  }
  this.pathToFile = pathToFile;
  this.databaseMiniGeneralLibraryBaseOptions =
      databaseMiniGeneralLibraryBaseOptions;
  isEnsureInitialized = true;
}