FaketoothService constructor

const FaketoothService({
  1. required String uuid,
  2. required bool isPrimary,
  3. List<FaketoothCharacteristic>? characteristics,
  4. List<FaketoothService>? includedServices,
})

Creates a new instance of FaketoothService.

The uuid and isPrimary parameters are required, while the characteristics and includedServices parameters are optional.

Implementation

const FaketoothService({
  required this.uuid,
  required this.isPrimary,
  this.characteristics,
  this.includedServices,
});