initialise method
This function is run at startup. It is not called again if already run.
Implementation
Future<void> initialise() async {
if (_initialised) {
return;
} else {
_preferences = await Hive.openBox(uniqueKey);
await prepareResources();
_initialised = true;
}
}