SharedPrefs constructor

SharedPrefs({
  1. String database = '.default',
  2. bool ignoreErrors = false,
})

Implementation

SharedPrefs({
  this.database = '.default',
  this.ignoreErrors = false,
}) : accessUri = Uri.parse('/$database/docs') {
  preferences = SharedPreferences.getInstance();
}