writeData method
Implementation
@override
Future<void> writeData(String address, String service, String characteristic,
Uint8List data) async {
await methodChannel.invokeMethod('writeData', {
'id': address,
'service': service,
'characteristic': characteristic,
'data': data,
});
}