init method

Future<bool> init()

Implementation

Future<bool> init() async {
  final dir = await PathProvider().getApplicationSupportDirectory();
  await super.initialize('preferences', subDir: dir?.path);
  await ApiCache().init();
  return isInitialize;
}