toString method

  1. @override
String toString()
override

Returns a string representation of this service in a format that exposes Peripheral.identifier and uuid.

Implementation

@override
String toString() {
  return 'Service{peripheralId: ${peripheral.identifier}, uuid: $uuid}';
}