writeData method

  1. @override
Future<void> writeData(
  1. String address,
  2. String service,
  3. String characteristic,
  4. Uint8List data,
)
override

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,
  });
}