PeripheralManager constructor

PeripheralManager()

Gets the instance of PeripheralManager to use.

Implementation

factory PeripheralManager() {
  final instance = PlatformPeripheralManager.instance;
  if (instance != _instance) {
    instance.initialize();
    _instance = instance;
  }
  return instance;
}