FaketoothPeripheral constructor
const
FaketoothPeripheral({
- required String identifier,
- required String name,
- List<
FaketoothService> ? services, - 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,
});