connect abstract method

Future<void> connect({
  1. required PeripheralSession session,
})

Establishes a connection to the peripheral.

The connection is not guaranteed to be successful. The peripheral may reject the connection request or the connection may fail for other reasons.

The connection attempt is cancelled if the peripheral disconnects.

Use Peripheral.

Implementation

Future<void> connect({
  required PeripheralSession session,
});