BleParameter<T> class

Constructors

BleParameter({required int id, required T? parse(List?), required T defaultValue, Duration timeout = const Duration(seconds: 10)})
const

Properties

commandId String
no setter
defaultValue → T
final
hashCode int
The hash code for this object.
no setterinherited
id int
final
parse → T? Function(List?)
final
parser BleResponseParser<T>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeout Duration
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parseResponse(List? response) → T
toString() String
A string representation of this object.
inherited

Operators

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