init static method

InAppDatabase init({
  1. String? name,
  2. required InAppDatabaseReader reader,
  3. required InAppDatabaseWriter writer,
  4. InAppDatabaseLimit? limiter,
})

Implementation

static InAppDatabase init({
  String? name,
  required InAppDatabaseReader reader,
  required InAppDatabaseWriter writer,
  InAppDatabaseLimit? limiter,
}) {
  _i ??= InAppDatabase._(
    name: name ?? "__in_app_database__",
    reader: reader,
    writer: writer,
    limit: limiter,
  );
  return _i!;
}