init method

  1. @override
Future<void> init(
  1. String path
)
override

Initialize the underlying storage rooted at path. Called once at bootstrap; implementation-defined what path means (directory for Hive, connection string for SQL backends, ...).

Implementation

@override
Future<void> init(String path) async {
  // The shared database is opened by the factory; nothing to do.
}