BleCharacteristic class
Describes a BLE characteristic exposed by the server.
Constructors
-
BleCharacteristic({required String uuid, required List<
BleProperty> properties, List<int> initialValue = const []}) - Creates a BleCharacteristic.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
initialValue
→ List<
int> -
Initial characteristic value.
final
-
properties
→ List<
BleProperty> -
Permitted operations for the characteristic.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- uuid → String
-
Characteristic identifier.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, Object> - Converts this object to a serialisable map.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromMap(
Map< String, Object?> map) → BleCharacteristic -
Creates a BleCharacteristic from
map. Unknown properties are ignored.