addService abstract method

Future<void> addService(
  1. GATTService service
)

Publishes a service and any of its associated characteristics and characteristic descriptors to the local GATT database.

Implementation

Future<void> addService(GATTService service);