init static method
InAppDatabase
init({
- String? name,
- required InAppDatabaseReader reader,
- required InAppDatabaseWriter writer,
- 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!;
}