defaultStoreDirectory function
Returns the default database directory inside this Flutter app's
getApplicationDocumentsDirectory()
.
Note: on desktop platforms this returns a directory in the users documents directory. It is advised to not use this then and instead create a directory named specifically for your app.
Implementation
Future<Directory> defaultStoreDirectory() async => Directory(
'${(await getApplicationDocumentsDirectory()).path}/${Store.defaultDirectoryPath}');