OkHiAppConfiguration constructor

OkHiAppConfiguration({
  1. required String branchId,
  2. required String clientKey,
  3. required OkHiEnv env,
})

Implementation

OkHiAppConfiguration({
  required this.branchId,
  required this.clientKey,
  required this.env,
}) {
  if (env == OkHiEnv.prod) {
    environmentRawValue = "prod";
  }
  if (env == OkHiEnv.dev) {
    environmentRawValue = "dev";
  }
}