CallbackDiscreteTypeConverter<T> class

Inheritance

Constructors

CallbackDiscreteTypeConverter({required ReadCallback<T, List<bool?>> readCallback, WriteCallback<T, bool, List<bool>>? writeCallback})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
readCallback ReadCallback<T, List<bool?>>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
writeCallback WriteCallback<T, bool, List<bool>>?
final

Methods

canRead(Type type, Register registerType, int address) bool
inherited
canWrite(Type type, int address) bool
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
read(RawReadCallback<List<bool?>> readRaw) Future<T>
override
readFromClient(ModbusClient client, Register registerType, int address) Future<T>
inherited
toString() String
A string representation of this object.
inherited
write(T value, RawWriteCallback<bool> writeSingle, RawWriteCallback<List<bool>> writeMultiple) Future<void>
override
writeToClient(ModbusClient client, int address, T value) Future<void>
inherited

Operators

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