Writes data to the currently connected device.
data
@override Future<void> write(String data) { // Native reads this under the "Data" key (capital D). return methodChannel.invokeMethod<void>('write', {'Data': data}); }