write method
Implementation
Future<WroteReporter> write({WriteOptions? options}) async {
var connectedDevice = this.connectedDevice();
options = options ?? WriteOptions.def();
var command = this.command();
var binary = command.binary();
var operation = DataWriteOperation(
connectedDevice: connectedDevice, options: options, binary: binary);
var reporter = await operation.write();
clear();
return reporter;
}