OkHiLocationManager constructor

OkHiLocationManager({
  1. Key? key,
  2. required OkHiUser user,
  3. OkHiLocationManagerConfiguration? configuration,
  4. dynamic onSucess(
    1. OkHiLocationManagerResponse response
    )?,
  5. dynamic onError(
    1. OkHiException exception
    )?,
  6. dynamic onCloseRequest()?,
})

Implementation

OkHiLocationManager({
  Key? key,
  required this.user,
  OkHiLocationManagerConfiguration? configuration,
  this.onSucess,
  this.onError,
  this.onCloseRequest,
})  : locationManagerConfiguration =
          configuration ?? OkHiLocationManagerConfiguration(),
      super(key: key);