FaketoothService class
A class that represents a Bluetooth Low Energy (BLE) service in Faketooth.
This class defines the UUID, primary status, characteristics, and included services of a BLE service.
Constructors
-
FaketoothService({required String uuid, required bool isPrimary, List<
FaketoothCharacteristic> ? characteristics, List<FaketoothService> ? includedServices}) -
Creates a new instance of FaketoothService.
const
Properties
-
characteristics
→ List<
FaketoothCharacteristic> ? -
The list of characteristics provided by the service.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
includedServices
→ List<
FaketoothService> ? -
The list of included services in the service.
final
- isPrimary → bool
-
A boolean indicating whether the service is primary or secondary.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- uuid → String
-
The UUID of the service.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toArguments(
) → Map< String, dynamic> - Converts the service to a map of arguments.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited