OkHiAppConfiguration constructor

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

Implementation

OkHiAppConfiguration({
  required this.branchId,
  required this.clientKey,
  required this.env,
  OkHiAndroidNotification? notification,
}) {
  if (env == OkHiEnv.prod) {
    environmentRawValue = "prod";
  }
  this.notification = notification ?? OkHiAndroidNotification.withDefaults();
}