CallbackRegisterTypeConverter<T> class
- Inheritance
-
- Object
- TypeConverter<
T> - RegisterTypeConverter<
T> - CallbackRegisterTypeConverter
Constructors
-
CallbackRegisterTypeConverter({required ReadCallback<
T, Uint16List> readCallback, WriteCallback<T, int, Uint16List> ? writeCallback}) -
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
readCallback
→ ReadCallback<
T, Uint16List> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
writeCallback
→ WriteCallback<
T, int, Uint16List> ? -
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< Uint16List> 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< int> writeSingle, RawWriteCallback<Uint16List> writeMultiple) → Future<void> -
override
-
writeToClient(
ModbusClient client, int address, T value) → Future< void> -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited