OkHiAppConfiguration constructor
OkHiAppConfiguration({
- required String branchId,
- required String clientKey,
- required OkHiEnv env,
- 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();
}