initialise method

Future<void> initialise()

This function is run at startup or when changing languages. It is not called again if already run.

Implementation

Future<void> initialise() async {
  if (_initialised) {
    return;
  } else {
    await prepareResources();
    _initialised = true;
  }
}