FaketoothPeripheral constructor

const FaketoothPeripheral({
  1. required String identifier,
  2. required String name,
  3. List<FaketoothService>? services,
  4. FaketoothAdvertisementData? advertisementData,
})

Creates a new instance of FaketoothPeripheral.

The identifier and name parameters are required, while the services and advertisementData parameters are optional.

Implementation

const FaketoothPeripheral({
  required this.identifier,
  required this.name,
  this.services,
  this.advertisementData,
});