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;
  Hive.init("./");
  _storage = LocaleSyncStorage(box: await Hive.openBox("localeSync"));
}