addReadOnlyService method

Future<void> addReadOnlyService(
  1. String uuid,
  2. Map<String, String> characteristicValues
)

Adds a service with string, read-only characteristics.

Calling this method again with the same service uuid will replace the service.

Implementation

Future<void> addReadOnlyService(String uuid, Map<String, String> characteristicValues) =>
    _BlePlatform.instance.peripheralManagerAddReadOnlyService(uuid, characteristicValues);