Characteristic class

An instance of this object should not be used after its device has lost its connection.

Properties

hashCode int
The hash code for this object.
no setterinherited
id Uuid
final
isIndicatable bool
final
isNotifiable bool
final
isReadable bool
final
isWritableWithoutResponse bool
final
isWritableWithResponse bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
service Service
The service containing this characteristic
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
read() Future<List<int>>
Reads the value of the specified characteristic.
subscribe() Stream<List<int>>
Subscribes to updates from the characteristic specified.
toString() String
A string representation of this object.
override
write(List<int> value, {bool withResponse = true}) Future<void>
Writes a value to the specified characteristic.

Operators

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