setup static method

dynamic setup({
  1. required String apiToken,
  2. required String repositoryId,
})

Implementation

static setup({
  required String apiToken,
  required String repositoryId,
}) async {
  _token = apiToken;
  _repositoryId = repositoryId;
  await Hive.initFlutter();
  _storage = LocaleSyncStorage(box: await Hive.openBox("localeSync"));
}