OkHiLocationManagerConfiguration constructor

OkHiLocationManagerConfiguration({
  1. String? color,
  2. String? logoUrl,
  3. bool? withAppBar,
  4. bool? withStreetView,
  5. bool? withHomeAddressType,
  6. bool? withWorkAddressType,
  7. bool? withCreateMode,
  8. bool? withPermissionsOnboarding,
})

Implementation

OkHiLocationManagerConfiguration({
  String? color,
  String? logoUrl,
  bool? withAppBar,
  bool? withStreetView,
  bool? withHomeAddressType,
  bool? withWorkAddressType,
  bool? withCreateMode,
  bool? withPermissionsOnboarding,
}) {
  this.color = color ?? "#005d67";
  this.withCreateMode = withCreateMode ?? false;
  this.logoUrl = logoUrl ?? OkHiConstant.okhiLogoUrl;
  this.withAppBar = withAppBar ?? true;
  this.withStreetView = withStreetView ?? true;
  this.withHomeAddressType = withHomeAddressType ?? true;
  this.withWorkAddressType = withWorkAddressType ?? true;
  this.withPermissionsOnboarding = withPermissionsOnboarding ?? true;
}