CentralManager constructor

CentralManager()

Gets the instance of CentralManager to use.

Implementation

factory CentralManager() {
  final instance = PlatformCentralManager.instance;
  if (instance != _instance) {
    instance.initialize();
    _instance = instance;
  }
  return instance;
}