Polar constructor

Polar({
  1. bool bluetoothScanNeverForLocation = true,
})

Initialize the Polar API. Returns a singleton.

DartDocs are copied from the iOS version of the SDK and are only included for reference

The plugin will request location permission on Android S+ if bluetoothScanNeverForLocation is false

Implementation

factory Polar({bool bluetoothScanNeverForLocation = true}) =>
    _instance ??= Polar._(bluetoothScanNeverForLocation);