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,
  9. List<UsageType>? usageTypes,
  10. String? locationId,
})

Implementation

OkHiLocationManagerConfiguration({
  String? color,
  String? logoUrl,
  bool? withAppBar,
  bool? withStreetView,
  bool? withHomeAddressType,
  bool? withWorkAddressType,
  bool? withCreateMode,
  bool? withPermissionsOnboarding,
  List<UsageType>? usageTypes,
  this.locationId,
}) {
  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.usageTypes = usageTypes ?? [UsageType.digitalVerification];
}