onGattOperationReceived property

Stream<GattOperationReceivedEvent> get onGattOperationReceived

Event for when a GATT operation of |type| to the peripheral with |address| happened.

Implementation

Stream<GattOperationReceivedEvent> get onGattOperationReceived => _client
    .onEvent
    .where(
      (event) => event.name == 'BluetoothEmulation.gattOperationReceived',
    )
    .map((event) => GattOperationReceivedEvent.fromJson(event.parameters));