encode method

Implementation

String encode(ModbusRTURequestBodyTypeEnum data) => data.value;