connect method
Opens a GATT connection to the device with id.
Implementation
@override
Future<GattConnection> connect(DeviceId id, {Duration? timeout}) async {
final err = connectError;
if (err != null) throw err;
final conn = FakeGattConnection(id);
connections.add(conn);
return conn;
}