FaketoothPeripheral class

A class that represents a Bluetooth Low Energy (BLE) peripheral in Faketooth.

This class defines the identifier, name, services, and advertisement data associated with the peripheral.

Constructors

FaketoothPeripheral({required String identifier, required String name, List<FaketoothService>? services, FaketoothAdvertisementData? advertisementData})
Creates a new instance of FaketoothPeripheral.
const

Properties

advertisementData FaketoothAdvertisementData?
The advertisement data of the peripheral.
final
hashCode int
The hash code for this object.
no setterinherited
identifier String
The identifier of the peripheral.
final
name String
The name of the peripheral.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
services List<FaketoothService>?
The list of services provided by the peripheral.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toArguments() Map<String, dynamic>
Converts the peripheral to a map of arguments.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited