ResourceDao constructor

ResourceDao({
  1. DatabaseMode databaseMode = mode.DatabaseMode.PERSISTENCE_DB,
  2. bool isForTesting = false,
})

Implementation

ResourceDao({
  this.databaseMode = mode.DatabaseMode.PERSISTENCE_DB,
  bool isForTesting = false,
}) {
  if (isForTesting) FhirDb.prepareForTesting();
}